External Email - Use Caution        


Dear freesurfer experts

 

I’m running the following commands to register RH area and volume files per sub to both hemispheres of a symmetrical template following Xhemi routines. 

The commands have already worked for many subs, but are failing to write the target file for a number of others (and all run fine without the –-jac flag)


#right to left

mris_apply_reg \

--src $SUBJECTS_DIR/$sub/surf/rh.area \

--trg $concatdir/rh.lh.area.${sub}.${template}.nii.gz \

--streg $SUBJECTS_DIR/$sub/xhemi/surf/lh.${template}.sphere.reg $SUBJECTS_DIR/${template}/surf/lh.sphere.reg \

--jac

 

#right to right

mris_apply_reg \

--src $SUBJECTS_DIR/$sub/surf/rh.area \

--trg $concatdir/rh.rh.area.${sub}.${template}.nii.gz \

--streg $SUBJECTS_DIR/$sub/surf/rh.${template}.sphere.reg $SUBJECTS_DIR/${template}/surf/rh.sphere.reg \

--jac

 


The error is not template-specific as the output is the same using fsaverage_sym

Attached is the log file.

 

Thanks in advance!

 


​- James