pychemstation 0.10.12__py3-none-any.whl → 0.10.13__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.
- pychemstation/control/controllers/data_aq/sequence.py +18 -10
- pychemstation/control/controllers/devices/__init__.py +4 -1
- {pychemstation-0.10.12.dist-info → pychemstation-0.10.13.dist-info}/METADATA +1 -1
- {pychemstation-0.10.12.dist-info → pychemstation-0.10.13.dist-info}/RECORD +6 -6
- {pychemstation-0.10.12.dist-info → pychemstation-0.10.13.dist-info}/WHEEL +0 -0
- {pychemstation-0.10.12.dist-info → pychemstation-0.10.13.dist-info}/licenses/LICENSE +0 -0
@@ -70,19 +70,22 @@ class SequenceController(RunController):
|
|
70
70
|
f"couldn't read rows or sequence name: {seq_name.err_value}"
|
71
71
|
)
|
72
72
|
|
73
|
-
|
73
|
+
@staticmethod
|
74
|
+
def try_int(val: Any) -> Optional[int]:
|
74
75
|
try:
|
75
76
|
return int(val)
|
76
77
|
except ValueError:
|
77
78
|
return None
|
78
79
|
|
79
|
-
|
80
|
+
@staticmethod
|
81
|
+
def try_float(val: Any) -> Optional[float]:
|
80
82
|
try:
|
81
83
|
return float(val)
|
82
84
|
except ValueError:
|
83
85
|
return None
|
84
86
|
|
85
|
-
|
87
|
+
@staticmethod
|
88
|
+
def try_vial_location(val: Any) -> Tray:
|
86
89
|
try:
|
87
90
|
return VialBar(val) if val <= 10 else FiftyFourVialPlate.from_int(num=val)
|
88
91
|
except ValueError:
|
@@ -451,14 +454,19 @@ class SequenceController(RunController):
|
|
451
454
|
def get_data(
|
452
455
|
self, custom_path: Optional[str] = None
|
453
456
|
) -> List[AgilentChannelChromatogramData]:
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
self.data_files[-1]
|
457
|
+
print(custom_path)
|
458
|
+
if custom_path:
|
459
|
+
self.data_files.append(
|
460
|
+
SequenceDataFiles(dir=custom_path, sequence_name="")
|
461
|
+
)
|
462
|
+
seq_file_dir = self.data_files[-1]
|
463
|
+
possible_seq_file_name = self._fuzzy_match_most_recent_folder(
|
460
464
|
seq_file_dir
|
461
|
-
)
|
465
|
+
)
|
466
|
+
if possible_seq_file_name.is_ok():
|
467
|
+
self.data_files[-1] = possible_seq_file_name.ok_value
|
468
|
+
else:
|
469
|
+
raise UserWarning(f"{possible_seq_file_name.err_value}")
|
462
470
|
spectra: List[AgilentChannelChromatogramData] = []
|
463
471
|
for row in self.data_files[-1].child_dirs:
|
464
472
|
self.get_spectrum_at_channels(row)
|
@@ -1,3 +1,6 @@
|
|
1
1
|
from .injector import InjectorController
|
2
|
+
from .pump import PumpController
|
3
|
+
from .column import ColumnController
|
4
|
+
from .dad import DADController
|
2
5
|
|
3
|
-
__all__ = ["InjectorController"]
|
6
|
+
__all__ = ["InjectorController", "PumpController", "ColumnController", "DADController"]
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: pychemstation
|
3
|
-
Version: 0.10.
|
3
|
+
Version: 0.10.13
|
4
4
|
Summary: Library to interact with Chemstation software, primarily used in Hein lab
|
5
5
|
Project-URL: Documentation, https://pychemstation-e5a086.gitlab.io/pychemstation.html
|
6
6
|
Project-URL: Repository, https://gitlab.com/heingroup/device-api/pychemstation
|
@@ -11,8 +11,8 @@ pychemstation/control/controllers/__init__.py,sha256=q2TUEie3J-OLlxcGLkG7vIy8faz
|
|
11
11
|
pychemstation/control/controllers/comm.py,sha256=ldM9mPIiT8txTJL_OzXsEQwQXQL-Q-9CWY4aEFeDUDQ,6651
|
12
12
|
pychemstation/control/controllers/data_aq/__init__.py,sha256=w-Zgbit10niOQfz780ZmRHjUFxV1hMkdui7fOMPqeLA,132
|
13
13
|
pychemstation/control/controllers/data_aq/method.py,sha256=K9dMJG8DtsaM1q8kmyBLuilKD9RAd5FOBB91QnC3wr0,20709
|
14
|
-
pychemstation/control/controllers/data_aq/sequence.py,sha256=
|
15
|
-
pychemstation/control/controllers/devices/__init__.py,sha256=
|
14
|
+
pychemstation/control/controllers/data_aq/sequence.py,sha256=HCZgT7d2AUGsSy8w6dlmZZ3z2Xf4Nktrx_OdWXPxiks,19486
|
15
|
+
pychemstation/control/controllers/devices/__init__.py,sha256=uQBaaO4jUa16_Qb6SFPbqQHdSH0mvY9KPBQ0O0xD9XY,231
|
16
16
|
pychemstation/control/controllers/devices/column.py,sha256=RLGPQm2bzM5TVGDTrXGBiWY_epvy_bprKN2cG_DdrUI,2165
|
17
17
|
pychemstation/control/controllers/devices/dad.py,sha256=TEm4C01qdWlulwQ_uu0q7FmfHdJTXfzmvldc9LsKELk,3105
|
18
18
|
pychemstation/control/controllers/devices/injector.py,sha256=fRUBdnI6imZKz7VXP6x8nWPmZLQ97Nlk1a7GEfAnpug,4189
|
@@ -40,7 +40,7 @@ pychemstation/utils/abc_tables/table.py,sha256=lIumyZ2qCaF9j7A2OF-FbQfK0NhpFACP_
|
|
40
40
|
pychemstation/utils/mocking/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
41
41
|
pychemstation/utils/mocking/mock_comm.py,sha256=vZeYBXaKBZOlJmhn4TSbkov62gqlkfztqf3MSFU9kLE,800
|
42
42
|
pychemstation/utils/mocking/mock_hplc.py,sha256=esVIlU4oqEsYLPOQs0AeVnKv9l52xBGT6UY862l9RQE,1163
|
43
|
-
pychemstation-0.10.
|
44
|
-
pychemstation-0.10.
|
45
|
-
pychemstation-0.10.
|
46
|
-
pychemstation-0.10.
|
43
|
+
pychemstation-0.10.13.dist-info/METADATA,sha256=K2wCBpKhM6zvZU_fvmX6vcRkBQQtE7LDnrqBO-23P8E,5904
|
44
|
+
pychemstation-0.10.13.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
45
|
+
pychemstation-0.10.13.dist-info/licenses/LICENSE,sha256=9bdF75gIf1MecZ7oymqWgJREVz7McXPG-mjqrTmzzD8,18658
|
46
|
+
pychemstation-0.10.13.dist-info/RECORD,,
|
File without changes
|
File without changes
|