diff --git a/scripts/cubic/bootstrap-fmriprep-multises.sh b/scripts/cubic/bootstrap-fmriprep-multises.sh index 3614bf1..ebd1cf6 100644 --- a/scripts/cubic/bootstrap-fmriprep-multises.sh +++ b/scripts/cubic/bootstrap-fmriprep-multises.sh @@ -187,6 +187,7 @@ datalad get -n "inputs/data/${subid}" # Reomve all subjects we're not working on (cd inputs/data && rm -rf `find . -type d -name 'sub*' | grep -v $subid`) +(cd inputs/data && rm -rf `find . -type d -name 'ses*' | grep -v $sesid`) # ------------------------------------------------------------------------------ # Do the run!