yuclid 0.1.1__py3-none-any.whl → 0.1.2__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.
yuclid/run.py CHANGED
@@ -734,9 +734,11 @@ def run_point_trials(settings, data, execution, f, i, point):
734
734
  hint="try relaxing your trial conditions or adding more trials.",
735
735
  )
736
736
 
737
- for i, trial in enumerate(compatible_trials):
737
+ i_padded = str(i).zfill(len(str(execution["subspace_size"])))
738
+
739
+ for j, trial in enumerate(compatible_trials):
738
740
  point_id = os.path.join(
739
- settings["temp_dir"], settings["now"], point_to_string(point) + f"_trial{i}"
741
+ settings["temp_dir"], settings["now"], f"{i_padded}." + point_to_string(point) + f"_trial{j}"
740
742
  )
741
743
 
742
744
  command = substitute_global_yvars(trial["command"], execution["subspace"])
@@ -779,10 +781,8 @@ def run_point_trials(settings, data, execution, f, i, point):
779
781
  env=execution["env"],
780
782
  )
781
783
  if command_output.returncode != 0:
782
- hint = "the command '{}' produced the following output:\n{}".format(
783
- command,
784
- command_output.stdout.strip(),
785
- )
784
+ hint = "check the following files for more details:\n"
785
+ hint += f"{point_id}.out\n{point_id}.err\n{point_id}.tmp"
786
786
  report(
787
787
  LogLevel.ERROR,
788
788
  point_to_string(point),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: yuclid
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: Run experiments and interactively plot results across combinations of user-specified dimensions
5
5
  Author-email: Federico Sossai <federico.sossai@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/fsossai/yuclid
@@ -2,10 +2,10 @@ yuclid/__init__.py,sha256=Pru0BlFBASFCFo7McHdohtKkUtgMPDwbGfyUZlE2_Vw,21
2
2
  yuclid/cli.py,sha256=l5WUY6Q6nwg7WRrAAPf5uaspG9zrEPE9BA9v3eYI_vE,6410
3
3
  yuclid/log.py,sha256=GR_FVfNroumuonKguAPd6H1rKjxJKRc8tAS2sVNTbzE,1655
4
4
  yuclid/plot.py,sha256=RV_bgkFDpOGxw7ankW7QsnBsyrholBtYKKj9jUtBAyM,30836
5
- yuclid/run.py,sha256=V3tcFHWyXH2fs6aFR6vJi2c5DhDb-zDXJMWp-xUi8DM,44048
5
+ yuclid/run.py,sha256=NVvcmLiQkzypgqpRbmI4lttgKSy05hYJKVBEp3fxnpA,44106
6
6
  yuclid/spread.py,sha256=4Ci3nsu8n_dhG-AK2IWHKRElQ8oaGdw14LrgNu79biM,4938
7
- yuclid-0.1.1.dist-info/METADATA,sha256=ZQi9yNj-A88WP5UHUMIa9a24zhcXf9EL6zMGAVZsHbE,673
8
- yuclid-0.1.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
9
- yuclid-0.1.1.dist-info/entry_points.txt,sha256=2AvTtyt5iBnjr6HnjqH_3PeSoq9UzIbT92qivmEbOYA,43
10
- yuclid-0.1.1.dist-info/top_level.txt,sha256=cL5mb4h_4etwTsqhPvSnoVBXImIzPFGd3rINV1nEjPo,7
11
- yuclid-0.1.1.dist-info/RECORD,,
7
+ yuclid-0.1.2.dist-info/METADATA,sha256=lCvP9NyDUhHzKnu4e8jCHVTFyAkgps_hH27EuwCL0gk,673
8
+ yuclid-0.1.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
9
+ yuclid-0.1.2.dist-info/entry_points.txt,sha256=2AvTtyt5iBnjr6HnjqH_3PeSoq9UzIbT92qivmEbOYA,43
10
+ yuclid-0.1.2.dist-info/top_level.txt,sha256=cL5mb4h_4etwTsqhPvSnoVBXImIzPFGd3rINV1nEjPo,7
11
+ yuclid-0.1.2.dist-info/RECORD,,
File without changes