Print

Print


Hi,

You must use the backquotes.
If, when you use backquotes, you are only getting the usage message from slicesdir then you are probably in the wrong directory, as this is what happens when there are no images in the directory.
So I would check on what directory you are in.

All the best,
Mark




On 25 May 2013, at 21:03, Tudor Popescu <[log in to unmask]> wrote:

Hi everyone,

I was following the FSLVBM tutorial, but the command slicesdir `imglob *`, to check if all structurals look as expected, results in the following errors:
Image Exception : #22 :: ERROR: Could not open image imglob
Error in slicer input, exiting...

 Cannot open slicesdir/grota.png for reading
/usr/local/fsl/bin/slicesdir: line 141: 11987 Segmentation fault      ${FSLDIR}/bin/pngappend $convertopts slicesdir/${Q}.png

/usr/local/fsl/bin/slicesdir: line 141: 11993 Segmentation fault      ${FSLDIR}/bin/slicer $A $pairimage -s 1 $sliceropts

 Cannot open slicesdir/grota.png for reading
/usr/local/fsl/bin/slicesdir: line 141: 11997 Segmentation fault      ${FSLDIR}/bin/pngappend $convertopts slicesdir/${Q}.png>
 
This happens when I use single quotes (') around the imglob * command. If I use backticks (`), as appears in the tutorial, I just get the slicesdir syntax help.

Thanks in advance for any help!

Tudor