Skip to content
Snippets Groups Projects
Commit 199df8ae authored by Pierre Augier's avatar Pierre Augier
Browse files

Fix directory created even if not params.output.HAS_TO_SAVE

parent 25d3bf0c
No related branches found
No related tags found
1 merge request!156Topic/default/phaseshift3d
......@@ -299,6 +299,8 @@
if mpi.rank == 0:
while True:
path_run = os.path.join(path_base, self.name_run)
if not params.output.HAS_TO_SAVE:
break
if not os.path.exists(path_run):
try:
os.makedirs(path_run)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment