External Email - Use Caution
mri_convert image000001.dcm /Volumes/DANIEL/dti_freesurf/diffusion_recons/${subj}.${cond}/dwi.nii.gz
dt_recon --sd /Volumes/DANIEL/dti_freesurf/diffusion_recons --i /Volumes/DANIEL/dti_freesurf/diffusion_recons/${subj}.${cond}/dwi.nii.gz --s ${subj}.${cond} --b dwi.bvals dwi.voxel_space.bvecs --eres-save --o /Volumes/DANIEL/dti_freesurf/dtrecon/${cond}.${subj}
and get an error at this point
#@#-------------------------------
Fitting Tensors
Mon Apr 1 15:16:29 EDT 2019
cd /Volumes/DANIEL/dti_freesurf/diffusion_recons/AES114.Rest
mri_glmfit --y /Volumes/DANIEL/dti_freesurf/dtrecon/Rest.AES114/dwi-ec.nii.gz --glmdir /Volumes/DANIEL/dti_freesurf/dtrecon/Rest.AES114 --nii.gz --dti dwi.bvals dwi.voxel_space.bvecs --eres-save
$Id: mri_glmfit.c,v 1.246 2017/02/15 21:04:18 greve Exp $
cwd /Volumes/DANIEL/dti_freesurf/diffusion_recons/AES114.Rest
cmdline mri_glmfit --y /Volumes/DANIEL/dti_freesurf/dtrecon/Rest.AES114/dwi-ec.nii.gz --glmdir /Volumes/DANIEL/dti_freesurf/dtrecon/Rest.AES114 --nii.gz --dti dwi.bvals dwi.voxel_space.bvecs --eres-save
sysname Darwin
hostname 255a-280.umd.edu
machine x86_64
user amos
FixVertexAreaFlag = 1
UseMaskWithSmoothing 1
OneSampleGroupMean 0
y /Volumes/DANIEL/dti_freesurf/dtrecon/Rest.AES114/dwi-ec.nii.gz
logyflag 1
usedti 1
glmdir /Volumes/DANIEL/dti_freesurf/dtrecon/Rest.AES114
IllCondOK 0
ReScaleX 1
DoFFx 0
Creating output directory /Volumes/DANIEL/dti_freesurf/dtrecon/Rest.AES114
Loading y from /Volumes/DANIEL/dti_freesurf/dtrecon/Rest.AES114/dwi-ec.nii.gz
... done reading.
Using DTI
Loading BValues from dwi.bvals
ERROR: DTIloadBValues(dwi.bvals): could not scan value(s)
Found 65 bvalues
ERROR: DTIloadBValues(dwi.bvals): could not scan value(s)
Loading BVectors from dwi.voxel_space.bvecs
ERROR: DTIloadBValues(dwi.voxel_space.bvecs): could not scan value(s)
Found 0 bvectorss
ERROR: DTIloadBValues: no bvectors found in dwi.voxel_space.bvecs
Best,