Print

Print


Dear FSL experts,

I have 2 questions regarding processing DTI data:

1. When I run BedpostX, I get an error at the end that says:
/usr/local/fsl/bin/bedpostx: line 220: 11092 Terminated
${subjdir}.bedpostX/monitor
However, I seem to be able to trace fibers just fine and they look as
expected. Can someone tell me what this error is about and whether it
affects the results?

2. I am trying to edit the tbss_2_reg script to pass on fnirt options
into fsl_reg so that I can include masks in the registration process,
but it didn't work. I basically edited the do_reg function to:

do_reg(){
    f=$1
    for g in `$FSLDIR/bin/imglob *_FA.*` ; do
  o=${g}_to_$f
  mysub=`basename ${g} _FA_FA.nii.gz`
  if [ ! -f ${o}_warp.msf ] ; then
      echo $o
      touch ${o}_warp.msf
      echo "$FSLDIR/bin/fsl_reg $g $f ${g}_to_$f -e -fnirt
--inmask=${subjdir}/FA_tbss/${mysub}_lesion_mask -FA" >> .commands
  fi
    done
}

Did I do that incorrectly or are there other scripts I need to edit?
Any advice is appreciated.

Thank you,
Xin