Commit 3dffcbb4 authored by Pierre Augier's avatar Pierre Augier
Browse files

spatial_means_regions_milestone.py: fix bug exist_ok=False

parent 0f0df6f97313
Pipeline #22934 passed with stage
in 16 minutes and 33 seconds
......@@ -207,7 +207,7 @@ class SpatialMeansRegions(SimulExtender, SpecificOutput):
def _init_files(self, arrays_1st_time=None):
if mpi.rank == 0:
self.path_dir.mkdir(exist_ok=False)
self.path_dir.mkdir(exist_ok=True)
for path, info_region in zip(self.paths, self.info_regions):
xmin, xmax = info_region[:2]
if not path.exists():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment