Skip to content
Snippets Groups Projects
Commit a9e1fe0b authored by Mark Jenkinson's avatar Mark Jenkinson
Browse files

Fixed remove_ext syntax

parent 59b1e80e
No related branches found
No related tags found
No related merge requests found
...@@ -54,7 +54,7 @@ cd $tmpdir ...@@ -54,7 +54,7 @@ cd $tmpdir
$FSLDIR/bin/avwsplit $im $FSLDIR/bin/avwsplit $im
for fnm in `$FSLDIR/bin/imglob vol*` ; do for fnm in `$FSLDIR/bin/imglob vol*` ; do
num=`echo $fnm | $FSLDIR/bin/remove_ext | sed 's/vol//'`; export num; num=`$FSLDIR/bin/remove_ext $fnm | sed 's/vol//'`; export num;
echo $num; echo $num;
$FSLDIR/bin/slicer $fnm -s 2 -a ${iout}_$num.pgm $FSLDIR/bin/slicer $fnm -s 2 -a ${iout}_$num.pgm
${FSLCONVERT} ${iout}_$num.pgm ${iout}_$num.gif ${FSLCONVERT} ${iout}_$num.pgm ${iout}_$num.gif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment