External Email - Use Caution        

Hi freesurfer developers,
I am trying to run mri segstats for multiple subjects but the following
only produces one text file for the first subject. Any idea what I am doing
wrong?

for subj in $(cat sessid.txt); do
mri_segstats --seg
/Users/Desktop/AUT/dti/TBSS_FA/FA/${subj}_FA_skeleton_JHU_wmparc_segmentation.nii.gz
 --in /Users/Desktop/AUT/dti/TBSS_FA/origdata/${subj}.nii.gz  --ctab
/Users/Desktop/AUT/TBSS_FA/stats/JHU_wmparc_segmentation_ColorLUT.txt
--sum  /Users/Desktop/AUT/TBSS_FA/roi/FA_${subj}_M.txt
done

Thank you.
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Reply via email to