experimaestro 1.9.0__py3-none-any.whl → 1.9.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.
Potentially problematic release.
This version of experimaestro might be problematic. Click here for more details.
- experimaestro/cli/filter.py +5 -3
- experimaestro/cli/jobs.py +2 -3
- {experimaestro-1.9.0.dist-info → experimaestro-1.9.1.dist-info}/METADATA +1 -1
- {experimaestro-1.9.0.dist-info → experimaestro-1.9.1.dist-info}/RECORD +7 -7
- {experimaestro-1.9.0.dist-info → experimaestro-1.9.1.dist-info}/LICENSE +0 -0
- {experimaestro-1.9.0.dist-info → experimaestro-1.9.1.dist-info}/WHEEL +0 -0
- {experimaestro-1.9.0.dist-info → experimaestro-1.9.1.dist-info}/entry_points.txt +0 -0
experimaestro/cli/filter.py
CHANGED
|
@@ -30,9 +30,11 @@ class JobInformation:
|
|
|
30
30
|
return JobState.ERROR
|
|
31
31
|
if (self.path / f"{self.scriptname}.pid").is_file():
|
|
32
32
|
if self.check:
|
|
33
|
-
process
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
if process := self.getprocess():
|
|
34
|
+
state = asyncio.run(process.aio_state(0))
|
|
35
|
+
if state is None or state.finished:
|
|
36
|
+
return JobState.ERROR
|
|
37
|
+
else:
|
|
36
38
|
return JobState.ERROR
|
|
37
39
|
return JobState.RUNNING
|
|
38
40
|
else:
|
experimaestro/cli/jobs.py
CHANGED
|
@@ -65,8 +65,7 @@ def process(
|
|
|
65
65
|
for job in p.glob("jobs/*/*"):
|
|
66
66
|
job_path = job.resolve()
|
|
67
67
|
if job_path.is_dir():
|
|
68
|
-
|
|
69
|
-
job2xp.setdefault(scriptname, set()).add(p.name)
|
|
68
|
+
job2xp.setdefault(job_path.name, set()).add(p.name)
|
|
70
69
|
|
|
71
70
|
if (p / "jobs.bak").is_dir():
|
|
72
71
|
cprint(f" Experiment {p.name} has not finished yet", "red")
|
|
@@ -83,7 +82,7 @@ def process(
|
|
|
83
82
|
p = job.resolve()
|
|
84
83
|
if p.is_dir():
|
|
85
84
|
*_, scriptname = p.parent.name.rsplit(".", 1)
|
|
86
|
-
xps = job2xp.get(
|
|
85
|
+
xps = job2xp.get(job.name, set())
|
|
87
86
|
if experiment and experiment not in xps:
|
|
88
87
|
continue
|
|
89
88
|
|
|
@@ -3,8 +3,8 @@ experimaestro/__main__.py,sha256=Dv9lFl03yt1dswd0Xb9NIJRgHpA5_IwH4RfQPEHyFz0,158
|
|
|
3
3
|
experimaestro/annotations.py,sha256=wyVmPlkXuoT6IxJ-ti8bFo6HxhGY1BYBxM5-pib6shU,8773
|
|
4
4
|
experimaestro/checkers.py,sha256=ZCMbnE_GFC5compWjt-fuHhPImi9fCPjImF8Ow9NqK8,696
|
|
5
5
|
experimaestro/cli/__init__.py,sha256=mzc-qqTFtZnFwCQl7IiwlYXEx08kLGwdntWayCerZ6E,9610
|
|
6
|
-
experimaestro/cli/filter.py,sha256=
|
|
7
|
-
experimaestro/cli/jobs.py,sha256=
|
|
6
|
+
experimaestro/cli/filter.py,sha256=WsoaxnwgkcbMRlWJdV55333F3cLg7W-9Zbx9e66ZmvY,6148
|
|
7
|
+
experimaestro/cli/jobs.py,sha256=BnejUnhKAgMBVgwANfQYj5mLzknXVohveg7NpovNZ8o,7925
|
|
8
8
|
experimaestro/click.py,sha256=6BkeQHEgcxaxzq3xEvEEzwzuBj5-dkfrpOGikuA8L00,1377
|
|
9
9
|
experimaestro/commandline.py,sha256=MJIJcfppGCjNA8ozxXUzbUSeDOlTExuzhxryGx3_lIo,9314
|
|
10
10
|
experimaestro/compat.py,sha256=dQqE2ZNHLM2wtdfp7fBRYMfC33qNehVf9J6FGRBUQhs,171
|
|
@@ -150,8 +150,8 @@ experimaestro/utils/jupyter.py,sha256=JcEo2yQK7x3Cr1tNl5FqGMZOICxCv9DwMvL5xsWdQP
|
|
|
150
150
|
experimaestro/utils/resources.py,sha256=j-nvsTFwmgENMoVGOD2Ap-UD3WU85WkI0IgeSszMCX4,1328
|
|
151
151
|
experimaestro/utils/settings.py,sha256=jpFMqF0DLL4_P1xGal0zVR5cOrdD8O0Y2IOYvnRgN3k,793
|
|
152
152
|
experimaestro/xpmutils.py,sha256=S21eMbDYsHfvmZ1HmKpq5Pz5O-1HnCLYxKbyTBbASyQ,638
|
|
153
|
-
experimaestro-1.9.
|
|
154
|
-
experimaestro-1.9.
|
|
155
|
-
experimaestro-1.9.
|
|
156
|
-
experimaestro-1.9.
|
|
157
|
-
experimaestro-1.9.
|
|
153
|
+
experimaestro-1.9.1.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
154
|
+
experimaestro-1.9.1.dist-info/METADATA,sha256=iwhee9G1vBhkBCM-zMWL_FgRwyZSBV7bZJLsnmVgCwk,6170
|
|
155
|
+
experimaestro-1.9.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
156
|
+
experimaestro-1.9.1.dist-info/entry_points.txt,sha256=TppTNiz5qm5xm1fhAcdLKdCLMrlL-eQggtCrCI00D9c,446
|
|
157
|
+
experimaestro-1.9.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|