diff --git a/ocmr_preproc b/ocmr_preproc index 8a2a68822b7f715094c86fc714bdc64a857ade32..2bffceb9b0e24cd31d9b84c7a9eff0bbc2e9a7d5 100755 --- a/ocmr_preproc +++ b/ocmr_preproc @@ -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}