From 4ee93934d12ef9c46259b34c3a23ecd16fbb437d Mon Sep 17 00:00:00 2001 From: Matthew Webster <mwebster@fmrib.ox.ac.uk> Date: Wed, 5 Mar 2008 16:14:12 +0000 Subject: [PATCH] new imglob --- fslanimate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fslanimate b/fslanimate index 611e134..b36df4e 100755 --- a/fslanimate +++ b/fslanimate @@ -54,7 +54,7 @@ cd $tmpdir $FSLDIR/bin/fslsplit $im for fnm in `$FSLDIR/bin/imglob vol*` ; do - num=`$FSLDIR/bin/remove_ext $fnm | sed 's/vol//'`; export num; + num=`echo $fnm | sed 's/vol//'`; export num; echo $num; $FSLDIR/bin/slicer $fnm -s 2 -a ${iout}_$num.png ${FSLDIR}/bin/pngappend ${iout}_$num.png ${iout}_$num.gif -- GitLab