Skip to content

Commit

Permalink
Fix issue with overwrite
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefano Moia committed Oct 28, 2021
1 parent 772ce12 commit 0157585
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions prepare_folder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,12 @@ echo "Overwrite tmp folder"
replace_and mkdir ${tmp}

echo "Check derivative project folder"
if_missing_do mkdir derivatives

[[ "${overwrite}" == "yes" ]] && replace_and mkdir derivatives/${prjname}
if_missing_do mkdir derivatives/${prjname}

sesfld=derivatives/${prjname}/sub-${sub}/ses-${ses}

[[ "${overwrite}" == "yes" ]] && replace_and mkdir ${sesfld}

if_missing_do mkdir ${sesfld}/func ${sesfld}/anat \
${sesfld}/fmap ${sesfld}/reg

Expand Down

0 comments on commit 0157585

Please sign in to comment.