Hi Jessica - Please send us your trac-all.log file as an attachment. It's hard to guess what went wrong just from the output of one command, without seeing the output of all commands before it. Thanks!

a.y

From: freesurfer-bounces@nmr.mgh.harvard.edu <freesurfer-bounces@nmr.mgh.harvard.edu> on behalf of Hua, Jessica <jphc55@mail.missouri.edu>
Sent: Sunday, April 12, 2020 12:38 AM
To: freesurfer@nmr.mgh.harvard.edu <freesurfer@nmr.mgh.harvard.edu>
Subject: [Freesurfer] Trac-all Error
 

        External Email - Use Caution        

Hi FreeSurfer,

I am running trac-all prepocessing using a configuration file. I tried preprocessing a couple of participants, and I keep getting this error:

#-------------------------------------

#@# Tensor fit Sat Apr 11 21:29:36 PDT 2020

dtifit -k /Volumes/HuaExternal/DTI_FS/S11018a_LGI/dmri/dwi.nii.gz -m /Volumes/HuaExternal/DTI_FS/S11018a_LGI/dlabel/diff/aparc+aseg_mask.bbr.nii.gz -r /Volumes/HuaExternal/DTI_FS/S11018a_LGI/dmri/bvecs -b /Volumes/HuaExternal/DTI_FS/S11018a_LGI/dmri/bvals -o /Volumes/HuaExternal/DTI_FS/S11018a_LGI/dmri/dtifit

libc++abi.dylib: terminating with uncaught exception of type std::logic_error: Mat::operator(): index out of bounds

Abort 


This is my configuration file:

set dtroot = /Volumes/HuaExternal/DTI_FS
set subjlist = ( S11018a_LGI )
set dcmroot = /Volumes/HuaExternal/DTI
set dcmlist = ( S11018a.nii )
set bvecfile = /Volumes/HuaExternal/DTI/bvecsSPACE.txt
set bvalfile = /Volumes/HuaExternal/DTI/bvals.txt
set runlist = (1)
set doeddy = 1
set dorotbvecs = 1
set usemaskanat = 1
set thrbet = 0.3
set doregflt = 0
set doregbbr = 1
set doregmni = 1
set doregcvs = 0
set mnitemp = /Volumes/HuaExternal/DTI/MNI152_T1_1mm_brain.nii.gz
set pathlist = ( lh.cst_AS rh.cst_AS \
                 lh.ilf_AS rh.ilf_AS \
                 lh.unc_AS rh.unc_AS \
                 fmajor_PP fminor_PP \
                 lh.atr_PP rh.atr_PP \
                 lh.cab_PP rh.cab_PP \
                 lh.ccg_PP rh.ccg_PP \
                 lh.slfp_PP rh.slfp_PP \
                 lh.slft_PP rh.slft_PP )
set ncpts = (6 6 5 5 5 5 7 5 5 5 5 5 4 4 5 5 5 5)

Do you know what is going wrong, and how I would fix this issue?

Best,

 Jessica

---

Jessica Hua, M.A.
Cognitive and Emotional Control Lab
Doctoral Candidate Clinical Psychology 
University of Missouri