From 18c0a94717348630ba580858c6c69411d7d333db Mon Sep 17 00:00:00 2001 From: Mathilde Brossard Date: Wed, 24 Jul 2024 17:25:07 +0200 Subject: [PATCH] Modified name files following BIDS #2 --- scripts/process_data.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/process_data.sh b/scripts/process_data.sh index 23b0562..2aea7f7 100755 --- a/scripts/process_data.sh +++ b/scripts/process_data.sh @@ -49,7 +49,7 @@ cd ${SUBJECT_SESSION}/anat/ SUBJECT="${SUBJECT}_${SESSION}" # T1 image file name -T1_image=$(find . -type f -name "*_UNIT1.nii.gz" -print | head -n 1) +T1_image=$(find . -type f -name "*_acq-mprage_T1w.nii.gz" -print | head -n 1) # Contrast agnostic segmentation sct_deepseg -i "$T1_image" -task seg_sc_contrast_agnostic -o "${T1_image%.nii.gz}_seg.nii.gz" -qc ${PATH_QC} -qc-subject ${SUBJECT}