pychemstation 0.6.0__py3-none-any.whl → 0.6.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,8 +9,8 @@ from ....utils.table_types import Table
9
9
 
10
10
  class DeviceController(TableController, abc.ABC):
11
11
 
12
- def __init__(self, controller: CommunicationController, table: Table):
13
- super().__init__(controller, None, None, table)
12
+ def __init__(self, controller: CommunicationController, table: Table, offline: bool):
13
+ super().__init__(controller, None, None, table, offline)
14
14
 
15
15
  @abc.abstractmethod
16
16
  def get_row(self, row: int):
@@ -7,8 +7,8 @@ from ....utils.table_types import Table, RegisterFlag
7
7
 
8
8
  class InjectorController(DeviceController):
9
9
 
10
- def __init__(self, controller: CommunicationController, table: Table):
11
- super().__init__(controller, table)
10
+ def __init__(self, controller: CommunicationController, table: Table, offline: bool):
11
+ super().__init__(controller, table, offline)
12
12
 
13
13
  def get_row(self, row: int) -> InjectorFunction:
14
14
  def return_tray_loc() -> Tray:
@@ -305,5 +305,5 @@ class TableController(abc.ABC):
305
305
  try:
306
306
  spec.load_spectrum(data_path=data_path, channel=channel)
307
307
  except FileNotFoundError:
308
- self.spectra[channel] = None
308
+ self.spectra[channel] = AgilentHPLCChromatogram(self.data_dir)
309
309
  print(f"No data at channel: {channel}")
@@ -57,7 +57,8 @@ class HPLCController:
57
57
  table=self.METHOD_TIMETABLE,
58
58
  offline=offline,
59
59
  injector_controller=InjectorController(controller=self.comm,
60
- table=self.INJECTOR_TABLE))
60
+ table=self.INJECTOR_TABLE,
61
+ offline=offline))
61
62
  self.sequence_controller = SequenceController(controller=self.comm,
62
63
  src=sequence_dir,
63
64
  data_dir=data_dir,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pychemstation
3
- Version: 0.6.0
3
+ Version: 0.6.2
4
4
  Summary: Library to interact with Chemstation software, primarily used in Hein lab
5
5
  Home-page: https://gitlab.com/heingroup/device-api/pychemstation
6
6
  Author: Lucy Hao
@@ -6,7 +6,7 @@ pychemstation/analysis/spec_utils.py,sha256=UOo9hJR3evJfmaohEEsyb7aq6X996ofuUfu-
6
6
  pychemstation/analysis/utils.py,sha256=ISupAOb_yqA4_DZRK9v18UL-XjUQccAicIJKb1VMnGg,2055
7
7
  pychemstation/control/__init__.py,sha256=4xTy8X-mkn_PPZKr7w9rnj1wZhtmTesbQptPhpYmKXs,64
8
8
  pychemstation/control/comm.py,sha256=u44g1hTluQ0yUG93Un-QAshScoDpgYRrZfFTgweP5tY,7386
9
- pychemstation/control/hplc.py,sha256=LkNB_wKNaW3pU-OZlYfwFbXGWU2Iwmr1WD5c3dCWEbY,9742
9
+ pychemstation/control/hplc.py,sha256=8vKdm5sTGY_VnBRqcAS3EMRJAQ2wbLRbFswaSi2CHHc,9848
10
10
  pychemstation/control/controllers/__init__.py,sha256=EM6LBNSTJqYVatmnvPq0P-S3q0POA88c-y64zL79I_I,252
11
11
  pychemstation/control/controllers/comm.py,sha256=IU4I_Q42VNCNUlVi93MxCmw2EBY9hiBDkU9FxubKg3c,7441
12
12
  pychemstation/control/controllers/method.py,sha256=XUclB7lQ_SIkquR58MBmmi9drHIPEq9AR8VprTLenvI,15503
@@ -15,14 +15,14 @@ pychemstation/control/controllers/table_controller.py,sha256=70ovnIjLKkJborS1ztk
15
15
  pychemstation/control/controllers/devices/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  pychemstation/control/controllers/devices/column.py,sha256=SCpCnVFZFUM9LM51MbWkVcBRayN3WFxy7lz9gs2PYeY,348
17
17
  pychemstation/control/controllers/devices/dad.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
- pychemstation/control/controllers/devices/device.py,sha256=SF1JK93FjmACnYrlKvldX3gEeA21qnXZegeNhc9QJGQ,738
19
- pychemstation/control/controllers/devices/injector.py,sha256=1iZgPQYw6AcV1VKw0RG-k94czE8lCRVWx5NCCubIOZA,5516
18
+ pychemstation/control/controllers/devices/device.py,sha256=QUFpUwmGxMzmG1CiRhNauV5cVZEJyRXyQDNQuW8Qfxk,762
19
+ pychemstation/control/controllers/devices/injector.py,sha256=Kxf4NjxPUt2xjOmJ9Pea1b9YzWyGcpW8VdOlx9Jo-Nw,5540
20
20
  pychemstation/control/controllers/devices/pump.py,sha256=DJQh4lNXEraeC1CWrsKmsITOjuYlRI3tih_XRB3F1hg,1404
21
21
  pychemstation/control/controllers/tables/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
22
  pychemstation/control/controllers/tables/method.py,sha256=3GdAQ6Cwf20QL3v7eMkwNieWbJdtr9GN12USbSVl_iE,16426
23
23
  pychemstation/control/controllers/tables/ms.py,sha256=JFD-tOhu8uRyKdl-E3-neRssii8MNqVRIlsrnFhNY_M,682
24
24
  pychemstation/control/controllers/tables/sequence.py,sha256=vqwJeV38YWdFnaDXvZVOGYl-UCV9lmMbh8Fj5kQ3mqY,8815
25
- pychemstation/control/controllers/tables/table.py,sha256=J-uNIFHVznPJqOKPmmqrJBXt70KlxmZlSdtEVM2pEKM,12576
25
+ pychemstation/control/controllers/tables/table.py,sha256=GjZ15aJhsCQ9Ps9imOh3Q5NgK97kzangrJcOGa8bjKA,12610
26
26
  pychemstation/control/table/__init__.py,sha256=RgMN4uIWHdNUHpGRBWdzmzAbk7XEKl6Y-qtqWCxzSZU,124
27
27
  pychemstation/control/table/method.py,sha256=THVoGomSXff_CTU3eAYme0BYwkPzab5UgZKsiZ29QSk,12196
28
28
  pychemstation/control/table/sequence.py,sha256=Eri52AnbE3BGthfrRSvYKYciquUzvHKo0lYUTySYYE8,10542
@@ -48,8 +48,8 @@ tests/test_inj.py,sha256=Blpk-z9PQuqo4xQ7AUi0CS2czMiYm-pqZe75OFTXru4,1092
48
48
  tests/test_method.py,sha256=KB7yAtVb4gZftnYzh-VfPb9LGVZOHUIW6OljEYRtbhA,4570
49
49
  tests/test_proc_rep.py,sha256=WhUiFqDD1Aey_Nc6Hvbd2zo48K4MWjwDhfO9LiwEQ7M,703
50
50
  tests/test_sequence.py,sha256=vs5-dqkItRds_tPM2-N6MNJ37FB0nLRFaDzBV8d42i8,4880
51
- pychemstation-0.6.0.dist-info/LICENSE,sha256=9bdF75gIf1MecZ7oymqWgJREVz7McXPG-mjqrTmzzD8,18658
52
- pychemstation-0.6.0.dist-info/METADATA,sha256=mO3-TN1CbOOEDxaUfAdwfZvRE65V3IvlXecYdb0uQBE,4370
53
- pychemstation-0.6.0.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
54
- pychemstation-0.6.0.dist-info/top_level.txt,sha256=zXfKu_4nYWwPHo3OsuhshMNC3SPkcoTGCyODjURaghY,20
55
- pychemstation-0.6.0.dist-info/RECORD,,
51
+ pychemstation-0.6.2.dist-info/LICENSE,sha256=9bdF75gIf1MecZ7oymqWgJREVz7McXPG-mjqrTmzzD8,18658
52
+ pychemstation-0.6.2.dist-info/METADATA,sha256=aZ5H2wFid5vlvSpa7eGizZT4QHiKvm6rN0YL3WdvydY,4370
53
+ pychemstation-0.6.2.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
54
+ pychemstation-0.6.2.dist-info/top_level.txt,sha256=zXfKu_4nYWwPHo3OsuhshMNC3SPkcoTGCyODjURaghY,20
55
+ pychemstation-0.6.2.dist-info/RECORD,,