pychemstation 0.5.0__py3-none-any.whl → 0.5.1__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/table/sequence.py +3 -3
- {pychemstation-0.5.0.dist-info → pychemstation-0.5.1.dist-info}/METADATA +1 -3
- {pychemstation-0.5.0.dist-info → pychemstation-0.5.1.dist-info}/RECORD +7 -7
- tests/test_sequence.py +1 -1
- {pychemstation-0.5.0.dist-info → pychemstation-0.5.1.dist-info}/LICENSE +0 -0
- {pychemstation-0.5.0.dist-info → pychemstation-0.5.1.dist-info}/WHEEL +0 -0
- {pychemstation-0.5.0.dist-info → pychemstation-0.5.1.dist-info}/top_level.txt +0 -0
@@ -141,10 +141,10 @@ class SequenceController(TableController):
|
|
141
141
|
:param sequence_table:
|
142
142
|
"""
|
143
143
|
timestamp = time.strftime(SEQUENCE_TIME_FORMAT)
|
144
|
-
|
144
|
+
self.send(Command.RUN_SEQUENCE_CMD.value)
|
145
145
|
folder_name = f"{sequence_table.name} {timestamp}"
|
146
146
|
subdirs = [x[0] for x in os.walk(self.data_dir)]
|
147
|
-
|
147
|
+
time.sleep(10)
|
148
148
|
potential_folders = sorted(list(filter(lambda d: folder_name in d, subdirs)))
|
149
149
|
parent_folder = potential_folders[0]
|
150
150
|
self.data_files.append(SequenceDataFiles(
|
@@ -157,7 +157,7 @@ class SequenceController(TableController):
|
|
157
157
|
return os.path.join(sequence_data_files.dir, sequence_data_files.child_dirs[-1])
|
158
158
|
|
159
159
|
def get_data(self) -> tuple[bool, Any]:
|
160
|
-
data_ready =
|
160
|
+
data_ready = self.data_ready()
|
161
161
|
sequence_data_files: SequenceDataFiles = self.data_files[-1]
|
162
162
|
spectra: list[dict[str, AgilentHPLCChromatogram]] = []
|
163
163
|
if data_ready:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pychemstation
|
3
|
-
Version: 0.5.
|
3
|
+
Version: 0.5.1
|
4
4
|
Summary: Library to interact with Chemstation software, primarily used in Hein lab
|
5
5
|
Home-page: https://gitlab.com/heingroup/pychemstation
|
6
6
|
Author: Lucy Hao
|
@@ -13,8 +13,6 @@ License-File: LICENSE
|
|
13
13
|
Requires-Dist: polling
|
14
14
|
Requires-Dist: seabreeze
|
15
15
|
|
16
|
-
from tests.test_chemstation_integration import SEQUENCE_DIR
|
17
|
-
|
18
16
|
# Agilent HPLC Macro Control
|
19
17
|
|
20
18
|

|
@@ -13,7 +13,7 @@ pychemstation/control/sequence.py,sha256=ewc7l44VAtv3wHV2QgOILu5Ny3gmubHuEeHJN9N
|
|
13
13
|
pychemstation/control/table_controller.py,sha256=83i1J2CvIrJ3NtAB_E46qhUe8MvXo1_GnDPmuiq-vSA,2957
|
14
14
|
pychemstation/control/table/__init__.py,sha256=RgMN4uIWHdNUHpGRBWdzmzAbk7XEKl6Y-qtqWCxzSZU,124
|
15
15
|
pychemstation/control/table/method.py,sha256=pywWVFXpdewA-5pXmcmvauX2WsjFQtrAiOSBFYCJfLE,11946
|
16
|
-
pychemstation/control/table/sequence.py,sha256=
|
16
|
+
pychemstation/control/table/sequence.py,sha256=mVay_KJNgL37GQBsVcxnQk9J7nPfRCzu5J17m6w8vMQ,8499
|
17
17
|
pychemstation/control/table/table_controller.py,sha256=g8IPKIyLbPcXfJDN2DvKtPd9sImbUdoI44qTutQzPi8,4986
|
18
18
|
pychemstation/generated/__init__.py,sha256=GAoZFAYbPVEJDkcOw3e1rgOqd7TCW0HyKNPM8OMehMg,1005
|
19
19
|
pychemstation/generated/dad_method.py,sha256=0W8Z5WDtF5jpIcudMqb7XrkTnR2EGg_QOCsHRFQ0rmM,8402
|
@@ -32,9 +32,9 @@ tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
32
32
|
tests/constants.py,sha256=TPwdBhG9M7VIZ5sxqEfspqC2pUS9ZSQM4z7ZKiKwzSo,625
|
33
33
|
tests/test_comm.py,sha256=SvA9xuYnyXApMN2NniEW3rDRadknjCgKwlCV4WANyfk,2460
|
34
34
|
tests/test_method.py,sha256=DGMDGj_O-YDc4-JYVEP152DxH81qsHP3E-5ZDlaKmTQ,2203
|
35
|
-
tests/test_sequence.py,sha256=
|
36
|
-
pychemstation-0.5.
|
37
|
-
pychemstation-0.5.
|
38
|
-
pychemstation-0.5.
|
39
|
-
pychemstation-0.5.
|
40
|
-
pychemstation-0.5.
|
35
|
+
tests/test_sequence.py,sha256=83Ii7GI7OlBqugxMXKcP1xrZLwed6jABMecQoEQp9ac,3930
|
36
|
+
pychemstation-0.5.1.dist-info/LICENSE,sha256=9bdF75gIf1MecZ7oymqWgJREVz7McXPG-mjqrTmzzD8,18658
|
37
|
+
pychemstation-0.5.1.dist-info/METADATA,sha256=fCnAGoJuiAn_v5qNmwr4zzXMmJMq6IV5eNoUiBYn9n4,3959
|
38
|
+
pychemstation-0.5.1.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
39
|
+
pychemstation-0.5.1.dist-info/top_level.txt,sha256=zXfKu_4nYWwPHo3OsuhshMNC3SPkcoTGCyODjURaghY,20
|
40
|
+
pychemstation-0.5.1.dist-info/RECORD,,
|
tests/test_sequence.py
CHANGED
@@ -96,7 +96,7 @@ class TestSequence(unittest.TestCase):
|
|
96
96
|
),
|
97
97
|
]
|
98
98
|
)
|
99
|
-
|
99
|
+
self.hplc_controller.edit_sequence(seq_table)
|
100
100
|
self.hplc_controller.run_sequence(seq_table)
|
101
101
|
chrom = self.hplc_controller.get_last_run_sequence_data()
|
102
102
|
self.assertTrue(len(chrom) == 2)
|
File without changes
|
File without changes
|
File without changes
|