X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2Fscripts%2Fcreate_mhd_4D.sh;h=2ef421b5869a29cd79159e61bc5d4f1ae86c323c;hb=f840f99dfeed47be09b02c8552732c7eb6f02a2f;hp=beea8c5eeffd6721beb74213477bc14e51fcc4e6;hpb=5e111e4d567195cf1379aa4b8a93ef04073652e5;p=clitk.git diff --git a/vv/scripts/create_mhd_4D.sh b/vv/scripts/create_mhd_4D.sh index beea8c5..2ef421b 100755 --- a/vv/scripts/create_mhd_4D.sh +++ b/vv/scripts/create_mhd_4D.sh @@ -11,7 +11,7 @@ then fi cd $1 -nbph=`ls *0.mhd | wc -l` +nbph=`find . -iname "*0.mhd" | wc -l` if [ $nbph = 0 ] then echo "Error: no phase found"