We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b0c88d commit 51ee68dCopy full SHA for 51ee68d
nibabies/cli/parser.py
@@ -772,6 +772,8 @@ def parse_args(args=None, namespace=None):
772
config.execution.mcribs_dir = output_dir / "sourcedata" / "mcribs"
773
elif output_layout == "legacy":
774
config.execution.mcribs_dir = output_dir / "mcribs"
775
+ # Ensure the directory is created
776
+ config.execution.mcribs_dir.mkdir(exist_ok=True, parents=True)
777
778
# Wipe out existing work_dir
779
if opts.clean_workdir and work_dir.exists():
0 commit comments