From 5194f4ad917dd49a56a547314c3f2065ba6f35f0 Mon Sep 17 00:00:00 2001 From: ngoyal95 Date: Thu, 8 Apr 2021 00:00:05 -0400 Subject: [PATCH] changed how successfull subjects are logged - now, instead of logging the entire filepath of their ICA+FIX output, just log subject ID only. Logging entire filepath causes problems in censor+truncate script --- data_prep/support_scripts/stage_3/verify_icafix_outputs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_prep/support_scripts/stage_3/verify_icafix_outputs.sh b/data_prep/support_scripts/stage_3/verify_icafix_outputs.sh index 220ef92..c215d53 100755 --- a/data_prep/support_scripts/stage_3/verify_icafix_outputs.sh +++ b/data_prep/support_scripts/stage_3/verify_icafix_outputs.sh @@ -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