diff --git a/lib/fluidsim_core/output/base.py b/lib/fluidsim_core/output/base.py index e087fc0e..bb2c4167 100644 --- a/lib/fluidsim_core/output/base.py +++ b/lib/fluidsim_core/output/base.py @@ -271,9 +271,11 @@ def _init_path_run(self): path_run.mkdir(parents=True) except OSError: # in case of simultaneously launched simulations + if not path_run.exists(): + # in case issues like quota + raise print( - 'Warning: NEW_DIR_RESULTS=True, but path"', - path_run, + f"Warning: NEW_DIR_RESULTS=True, but path {path_run}", "already exists. Trying a new path...", ) sleep(1)