We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6441f1 commit a1caeadCopy full SHA for a1caead
flyvis/utils/compute_cloud_utils.py
@@ -410,8 +410,8 @@ def launch_range(
410
ensemble_and_network_id = f"{ensemble_id:04}/{i:03}"
411
assert "_" not in ensemble_and_network_id
412
network_dir = results_dir / task_name / ensemble_and_network_id
413
- if not network_dir.exists():
414
- network_dir.mkdir(parents=True)
+ if not network_dir.parent.exists():
+ network_dir.parent.mkdir(parents=True)
415
log_file = (
416
network_dir.parent / f"{i:04}_{script.split('/')[-1].split('.')[0]}.log"
417
)
0 commit comments