From: Romulo Pinho Date: Wed, 9 May 2012 13:14:02 +0000 (+0200) Subject: further corrections in 4D mhd creation X-Git-Tag: v1.3.0~39 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=c0cc96c4aa3fca16d7b3d2df8d67708ae985f42f;p=clitk.git further corrections in 4D mhd creation --- diff --git a/scripts/create_mhd_4D.sh b/scripts/create_mhd_4D.sh index 72c7728..70e21bb 100755 --- a/scripts/create_mhd_4D.sh +++ b/scripts/create_mhd_4D.sh @@ -103,7 +103,7 @@ do fi nbph=`find $1 -maxdepth 1 -iname "*${prefix}*[0-9]*${suffix}*.mhd" | wc -l` orig=`find $1 -maxdepth 1 -iname "*${prefix}*[0-9]*${suffix}*.mhd" | sort | head -n 1` - listph=`find $1 -maxdepth 1 -iregex ".*${prefix}.*[0-9].*${suffix}.*.z*raw" | sort` + listph=`find $1 -maxdepth 1 -iname ".*${prefix}.*[0-9].*${suffix}.*.*raw" -iregex ".*.z*raw" | sort` file_name_4D="${prefix}4D${suffix}.mhd"