Print

Print


Hi, I think there is a minor bug at the very end of FSL_ANAT. I am using version 5.0.11 and in the final step (SUB-CORTICAL STRUCTURE SEGMENTATION) there is the following:


echo "$FSLDIR/bin/fsl_sub -T 1 -j $FIRSTID imcp first_results/${T1}_first_all_fast_firstseg.${ext} ${T1}_subcort_seg.${ext}" >> $LOGFILE
$FSLDIR/bin/fsl_sub -T 1 -j $FIRSTID imcp first_results/${T1}_first_all_fast_firstseg.${ext} ${T1}_subcort_seg.${ext}

The ${ext} variable is not defined (and not necessary as far as I can tell - if you remove it, imcp figures out the extension itself), however it causes the command to fail because the file extension is not recognized. 


Since this is literally the last real command in the script, it doesn't have much impact, however it does cause fsl_anat to exit with status 1 which was then causing another of my scripts to fail!


I can work around it easily, but looks like an straightforward fix for the next release.


Cheers,

Martin




To unsubscribe from the FSL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1