From 0dbf7d977f409c3e83d40d8cdf7ae7a20ff66305 Mon Sep 17 00:00:00 2001 From: Steven Meisler Date: Thu, 7 Dec 2023 23:04:40 -0500 Subject: [PATCH] Use mkdir -p instead Works better than mkdir regulat --- run.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/run.py b/run.py index 47f2954..203a2b6 100644 --- a/run.py +++ b/run.py @@ -161,8 +161,7 @@ def run_script(script): path=%s out_path=%s task=%s - mkdir $out_path - mkdir $out_path/masks + mkdir -p $out_path/masks sub_IDs="%s" sess=%s for subjects in ${sub_IDs}; do