Skip to content

Commit

Permalink
changed how successfull subjects are logged - now, instead of logging…
Browse files Browse the repository at this point in the history
… the entire filepath of their ICA+FIX output, just log subject ID only. Logging entire filepath causes problems in censor+truncate script
  • Loading branch information
Ngoyal95 committed Apr 8, 2021
1 parent 131b823 commit 5194f4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data_prep/support_scripts/stage_3/verify_icafix_outputs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ do
FILE=$DCAN_REPROC/$line/ses-baselineYear1Arm1/files/MNINonLinear/Results/fix_proc/task-rest_concat_hp2000_clean.nii.gz
if test -f "$FILE"; then
# record all subjects that DO HAVE final ICA+FIX output (store their path to the file)
echo "$FILE" >> $STAGE_3_OUT/ICAFIX_SUCCESS.txt
echo "$line" >> $STAGE_3_OUT/ICAFIX_SUCCESS.txt
else
# record all subjects that DO NOT HAVE final ICA+FIX output (store subject ID)
echo "$line" >> $STAGE_3_OUT/tmp_nofile.txt
Expand Down

0 comments on commit 5194f4a

Please sign in to comment.