Skip to content
Snippets Groups Projects
Commit be94ee5e authored by Saad Jbabdi's avatar Saad Jbabdi
Browse files

added an extra line to allow 3 digit numbers

parent 80e07941
No related branches found
No related tags found
No related merge requests found
......@@ -19,11 +19,16 @@ nlp=`echo *lp2d_* |wc -w`
if [ $nep -gt 1 ];then
a1=`imglob images_?_*ep2d_*`
a2=`imglob images_??_*ep2d_*`
fslmerge -t big4D $a1 $a2
a3=`imglob images_???_*ep2d_*`
fslmerge -t big4D $a1 $a2 $a3
elif [ $nlp -gt 1 ];then
a1=`imglob images_?_*lp2d_*`
a2=`imglob images_??_*lp2d_*`
fslmerge -t big4D $a1 $a2
a3=`imglob images_???_*lp2d_*`
fslmerge -t big4D $a1 $a2 $a3
fi
#nslices=${1}
......
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