pychemstation 0.10.8.dev1__py3-none-any.whl → 0.10.8.dev2__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.
@@ -338,8 +338,10 @@ class SequenceController(RunController):
338
338
  and set(most_recent_folder._data_files) == child_dirs
339
339
  ):
340
340
  most_recent_folder.child_dirs = [
341
- os.path.join(most_recent_folder.dir, f) for f in child_dirs
341
+ os.path.join(most_recent_folder.dir, f) if not os.path.isdir(f) else f for f in child_dirs
342
342
  ]
343
+ for d in most_recent_folder.child_dirs:
344
+ assert os.path.isdir(d)
343
345
  else:
344
346
  potential_folders: List[str] = sorted(
345
347
  list(
@@ -427,6 +429,8 @@ class SequenceController(RunController):
427
429
  ).ok_value
428
430
  )
429
431
  parent_dir = self.data_files[-1]
432
+ if len(parent_dir._data_files) != len(parent_dir.child_dirs) or len(parent_dir.child_dirs) == 0:
433
+ parent_dir = self._fuzzy_match_most_recent_folder(most_recent_folder=parent_dir, child_dirs=None)
430
434
  spectra = self.get_data()
431
435
  reports = []
432
436
  for i, child_dir in enumerate(parent_dir.child_dirs):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pychemstation
3
- Version: 0.10.8.dev1
3
+ Version: 0.10.8.dev2
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,7 +11,7 @@ pychemstation/control/controllers/__init__.py,sha256=q2TUEie3J-OLlxcGLkG7vIy8faz
11
11
  pychemstation/control/controllers/comm.py,sha256=ySjgMBIfJ11sygXiZSPp9Rf6ABM4t6JhZRONRj1u2Cc,6652
12
12
  pychemstation/control/controllers/data_aq/__init__.py,sha256=w-Zgbit10niOQfz780ZmRHjUFxV1hMkdui7fOMPqeLA,132
13
13
  pychemstation/control/controllers/data_aq/method.py,sha256=hfLU5bnlmqKc1DPnK-HNpe-S2DollXyNx89hiLwhKWI,18251
14
- pychemstation/control/controllers/data_aq/sequence.py,sha256=zhilGZXUEttqrux8OI2ieAWktINsrD98fm_b6guZKlo,17209
14
+ pychemstation/control/controllers/data_aq/sequence.py,sha256=3ieCzs__Z-c1OfbeUuZ41KfZ8gxcWLb0XOEvi7uVLGU,17571
15
15
  pychemstation/control/controllers/devices/__init__.py,sha256=QpgGnLXyWiB96KIB98wMccEi8oOUUaLxvBCyevJzcOg,75
16
16
  pychemstation/control/controllers/devices/injector.py,sha256=LyubM-fqf5ruseGx32deTDK-yevmaTOvdo6YKg2PF7I,4029
17
17
  pychemstation/generated/__init__.py,sha256=xnEs0QTjeuGYO3tVUIy8GDo95GqTV1peEjosGckpOu0,977
@@ -35,7 +35,7 @@ pychemstation/utils/abc_tables/table.py,sha256=4mfmegCdMppxgpxVDt7oULoxTBVia8_JT
35
35
  pychemstation/utils/mocking/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
36
36
  pychemstation/utils/mocking/mock_comm.py,sha256=4DcKmUxp-LYNXjywT_za1_GpqKa4sFTj7F2V3r_qsA0,156
37
37
  pychemstation/utils/mocking/mock_hplc.py,sha256=Hx6127C7d3miYGCZYxbN-Q3PU8kpMgXYX2n6we2Twgw,25
38
- pychemstation-0.10.8.dev1.dist-info/METADATA,sha256=kACFfqsEpvT70MVDKx6KYzmgSjmPXe6pDcwhoj82ZIQ,5757
39
- pychemstation-0.10.8.dev1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
40
- pychemstation-0.10.8.dev1.dist-info/licenses/LICENSE,sha256=9bdF75gIf1MecZ7oymqWgJREVz7McXPG-mjqrTmzzD8,18658
41
- pychemstation-0.10.8.dev1.dist-info/RECORD,,
38
+ pychemstation-0.10.8.dev2.dist-info/METADATA,sha256=oo7RpP4dy0-_1rdACc2TyX5ezQO_hftIv35DcJ0ppQg,5757
39
+ pychemstation-0.10.8.dev2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
40
+ pychemstation-0.10.8.dev2.dist-info/licenses/LICENSE,sha256=9bdF75gIf1MecZ7oymqWgJREVz7McXPG-mjqrTmzzD8,18658
41
+ pychemstation-0.10.8.dev2.dist-info/RECORD,,