X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=scripts%2Fcreate_mhd_4D.sh;h=b363f7e3034c3143755923a3904b0fbbf8a7596e;hb=eee2b74b70c0972894daf6a75685a8ef87e85c8f;hp=5b602446bd3b038081cf91834c663c4d0eaf6b74;hpb=e09c42efa08d782918e7aed46eb1e0750fd0e2e9;p=clitk.git diff --git a/scripts/create_mhd_4D.sh b/scripts/create_mhd_4D.sh index 5b60244..b363f7e 100755 --- a/scripts/create_mhd_4D.sh +++ b/scripts/create_mhd_4D.sh @@ -28,10 +28,10 @@ then exit 1 fi -nb_phase_file=`find $1 -maxdepth 1 -iname "*[0-9]*.mhd" -o -iname "*[0-9]*\]*.mhd" | wc -l` +nb_phase_file=`find $1 -maxdepth 1 -iname "*[0-9]*.mhd" | wc -l` if [ $nb_phase_file = 0 ] then - echo "Error: no phase found" + echo "No phase found in $1" exit 1 fi