File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -100,9 +100,9 @@ a. Assuming these scripts are run on the NIH HPC system, the first step would be
100100
101101 ``` bash
102102
103- for i in ` ls -d ${INPUT_DIR} /* ` ; do \
103+ for i in ` ls -d ${INPUT_DIR} /sub- * ` ; do \
104104 SUBJ=$( echo $i | sed " s|${INPUT_DIR} /||g" ) ; \
105- echo " python src/dsst_defacing_wf.py -i ${INPUT_DIR} -o ${OUTPUT_DIR} -s ${SUBJ} " ; \
105+ echo " python src/dsst_defacing_wf.py -i ${INPUT_DIR} -o ${OUTPUT_DIR} -p ${SUBJ} " ; \
106106 done > defacing_parallel_subject_level.swarm
107107 ```
108108
@@ -122,9 +122,9 @@ parallelly. Similar to Option 2, the following commands loop through the dataset
122122create a ` swarm ` file to be run on NIH HPC systems.
123123
124124``` bash
125- for i in ` ls -d ${INPUT_DIR} /* ` ; do
125+ for i in ` ls -d ${INPUT_DIR} /sub- * ` ; do
126126 SUBJ=$( echo $i | sed " s|${INPUT_DIR} /||g" ) ;
127- for j in ` ls -d ${INPUT_DIR} /${SUBJ} /* ` ; do
127+ for j in ` ls -d ${INPUT_DIR} /${SUBJ} /ses- * ` ; do
128128 SESS=$( echo $j | sed " s|${INPUT_DIR} /${SUBJ} /||g" )
129129 echo " python src/dsst_defacing_wf.py -i ${INPUT_DIR} -o ${OUTPUT_DIR} -p ${SUBJ} -s ${SESS} " ;
130130 done ;
You can’t perform that action at this time.
0 commit comments