Skip to content

Commit 70bd15e

Browse files
committed
Auto mkdir output parents
1 parent e47575c commit 70bd15e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dedalus/core/evaluator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ def __init__(self, base_path, *args, max_writes=None, mode=None, **kw):
447447
# Create output folder
448448
with Sync(comm):
449449
if comm.rank == 0:
450-
base_path.mkdir(exist_ok=True)
450+
base_path.mkdir(exist_ok=True, parents=True)
451451

452452
def add_task(self, *args, **kw):
453453
super().add_task(*args, **kw)

0 commit comments

Comments
 (0)