Skip to content

Commit 639e899

Browse files
authored
Update README.md
1 parent a2fadc9 commit 639e899

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
122122
create 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;

0 commit comments

Comments
 (0)