pychemstation 0.5.8__tar.gz → 0.5.9__tar.gz

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.
Files changed (40) hide show
  1. {pychemstation-0.5.8 → pychemstation-0.5.9}/PKG-INFO +1 -1
  2. {pychemstation-0.5.8 → pychemstation-0.5.9}/pychemstation/control/controllers/method.py +15 -0
  3. {pychemstation-0.5.8 → pychemstation-0.5.9}/pychemstation/control/controllers/table_controller.py +3 -2
  4. {pychemstation-0.5.8 → pychemstation-0.5.9}/pychemstation.egg-info/PKG-INFO +1 -1
  5. {pychemstation-0.5.8 → pychemstation-0.5.9}/setup.py +1 -1
  6. {pychemstation-0.5.8 → pychemstation-0.5.9}/tests/constants.py +1 -0
  7. {pychemstation-0.5.8 → pychemstation-0.5.9}/LICENSE +0 -0
  8. {pychemstation-0.5.8 → pychemstation-0.5.9}/README.md +0 -0
  9. {pychemstation-0.5.8 → pychemstation-0.5.9}/pychemstation/__init__.py +0 -0
  10. {pychemstation-0.5.8 → pychemstation-0.5.9}/pychemstation/analysis/__init__.py +0 -0
  11. {pychemstation-0.5.8 → pychemstation-0.5.9}/pychemstation/analysis/base_spectrum.py +0 -0
  12. {pychemstation-0.5.8 → pychemstation-0.5.9}/pychemstation/analysis/spec_utils.py +0 -0
  13. {pychemstation-0.5.8 → pychemstation-0.5.9}/pychemstation/analysis/utils.py +0 -0
  14. {pychemstation-0.5.8 → pychemstation-0.5.9}/pychemstation/control/__init__.py +0 -0
  15. {pychemstation-0.5.8 → pychemstation-0.5.9}/pychemstation/control/controllers/__init__.py +0 -0
  16. {pychemstation-0.5.8 → pychemstation-0.5.9}/pychemstation/control/controllers/comm.py +0 -0
  17. {pychemstation-0.5.8 → pychemstation-0.5.9}/pychemstation/control/controllers/sequence.py +0 -0
  18. {pychemstation-0.5.8 → pychemstation-0.5.9}/pychemstation/control/hplc.py +0 -0
  19. {pychemstation-0.5.8 → pychemstation-0.5.9}/pychemstation/generated/__init__.py +0 -0
  20. {pychemstation-0.5.8 → pychemstation-0.5.9}/pychemstation/generated/dad_method.py +0 -0
  21. {pychemstation-0.5.8 → pychemstation-0.5.9}/pychemstation/generated/pump_method.py +0 -0
  22. {pychemstation-0.5.8 → pychemstation-0.5.9}/pychemstation/utils/__init__.py +0 -0
  23. {pychemstation-0.5.8 → pychemstation-0.5.9}/pychemstation/utils/chromatogram.py +0 -0
  24. {pychemstation-0.5.8 → pychemstation-0.5.9}/pychemstation/utils/macro.py +0 -0
  25. {pychemstation-0.5.8 → pychemstation-0.5.9}/pychemstation/utils/method_types.py +0 -0
  26. {pychemstation-0.5.8 → pychemstation-0.5.9}/pychemstation/utils/parsing.py +0 -0
  27. {pychemstation-0.5.8 → pychemstation-0.5.9}/pychemstation/utils/sequence_types.py +0 -0
  28. {pychemstation-0.5.8 → pychemstation-0.5.9}/pychemstation/utils/table_types.py +0 -0
  29. {pychemstation-0.5.8 → pychemstation-0.5.9}/pychemstation/utils/tray_types.py +0 -0
  30. {pychemstation-0.5.8 → pychemstation-0.5.9}/pychemstation.egg-info/SOURCES.txt +0 -0
  31. {pychemstation-0.5.8 → pychemstation-0.5.9}/pychemstation.egg-info/dependency_links.txt +0 -0
  32. {pychemstation-0.5.8 → pychemstation-0.5.9}/pychemstation.egg-info/requires.txt +0 -0
  33. {pychemstation-0.5.8 → pychemstation-0.5.9}/pychemstation.egg-info/top_level.txt +0 -0
  34. {pychemstation-0.5.8 → pychemstation-0.5.9}/pyproject.toml +0 -0
  35. {pychemstation-0.5.8 → pychemstation-0.5.9}/setup.cfg +0 -0
  36. {pychemstation-0.5.8 → pychemstation-0.5.9}/tests/__init__.py +0 -0
  37. {pychemstation-0.5.8 → pychemstation-0.5.9}/tests/test_comb.py +0 -0
  38. {pychemstation-0.5.8 → pychemstation-0.5.9}/tests/test_comm.py +0 -0
  39. {pychemstation-0.5.8 → pychemstation-0.5.9}/tests/test_method.py +0 -0
  40. {pychemstation-0.5.8 → pychemstation-0.5.9}/tests/test_sequence.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pychemstation
3
- Version: 0.5.8
3
+ Version: 0.5.9
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
@@ -214,6 +214,11 @@ class MethodController(TableController):
214
214
  self.sleepy_send(
215
215
  f'NewColVal RCPMP1Method[1], "Timetable", "SolventCompositionPumpChannel2_Percentage", {row.organic_modifer}')
216
216
 
217
+ self.sleepy_send('InsTabRow RCPMP1Method[1], "Timetable"')
218
+ self.sleepy_send('SetTabText RCPMP1Method[1], "Timetable", 2, "Function", "Flow"')
219
+ self.sleepy_send(f'NewColVal RCPMP1Method[1], "Timetable", "FlowFlow", {row.flow}')
220
+ self.sleepy_send(f'SetTabVal RCPMP1Method[1], "Timetable", 2, "FlowFlow", {row.flow})')
221
+
217
222
  self.send('Sleep 1')
218
223
  self.sleepy_send("DownloadRCMethod PMP1")
219
224
  self.send('Sleep 1')
@@ -231,8 +236,18 @@ class MethodController(TableController):
231
236
  self.send("Sleep 1")
232
237
  self.sleepy_send("DownloadRCMethod PMP1")
233
238
  self.send("Sleep 1")
239
+
240
+ self.sleepy_send('InsTabRow RCPMP1Method[1], "Timetable"')
234
241
  self.get_num_rows()
235
242
 
243
+ self.sleepy_send('SetTabText RCPMP1Method[1], "Timetable", Rows , "Function", "Flow"')
244
+ self.sleepy_send(f'SetTabVal RCPMP1Method[1], "Timetable", Rows , "FlowFlow", {row.flow}')
245
+ self.sleepy_send(f'SetTabVal RCPMP1Method[1], "Timetable", Rows , "Time", {row.start_time}')
246
+
247
+ self.send("Sleep 1")
248
+ self.sleepy_send("DownloadRCMethod PMP1")
249
+ self.send("Sleep 1")
250
+
236
251
  def _update_param(self, method_param: Param):
237
252
  """Change a method parameter, changes what is visibly seen in Chemstation GUI.
238
253
  (changes the first row in the timetable)
@@ -169,7 +169,7 @@ class TableController(abc.ABC):
169
169
  finished_run = polling.poll(
170
170
  lambda: self.controller.check_if_running(),
171
171
  timeout=timeout,
172
- step=18)
172
+ step=50)
173
173
 
174
174
  check_folder = self.fuzzy_match_most_recent_folder(most_recent_folder)
175
175
  if check_folder.is_ok() and finished_run:
@@ -178,9 +178,10 @@ class TableController(abc.ABC):
178
178
  finished_run = polling.poll(
179
179
  lambda: self.controller.check_if_running(),
180
180
  timeout=timeout,
181
- step=12)
181
+ step=50)
182
182
  if finished_run:
183
183
  return check_folder
184
+ return check_folder
184
185
  else:
185
186
  return Err("Run did not complete as expected")
186
187
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pychemstation
3
- Version: 0.5.8
3
+ Version: 0.5.9
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
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
5
5
 
6
6
  setuptools.setup(
7
7
  name="pychemstation",
8
- version="0.5.8",
8
+ version="0.5.9",
9
9
  author="Lucy Hao",
10
10
  author_email="lhao03@student.ubc.ca",
11
11
  description="Library to interact with Chemstation software, primarily used in Hein lab",
@@ -40,6 +40,7 @@ def gen_rand_method():
40
40
  org_modifier = int(random.random() * 10)
41
41
  max_run_time = int(random.random() * 10)
42
42
  return MethodTimetable(
43
+ name=DEFAULT_METHOD,
43
44
  first_row=HPLCMethodParams(
44
45
  organic_modifier=org_modifier,
45
46
  flow=round(random.random(), 2),
File without changes
File without changes
File without changes