From: Romulo Pinho Date: Fri, 27 Apr 2012 09:26:02 +0000 (+0200) Subject: take into account compressed MHD files X-Git-Tag: v1.3.0~42 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=4f70b3ff43c75b6ab74a56c2b63f64b28f2c6090;p=clitk.git take into account compressed MHD files --- diff --git a/scripts/create_mhd_4D.sh b/scripts/create_mhd_4D.sh index b363f7e..ff45d63 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 -iname "*${prefix}*[0-9]*${suffix}*.raw" | sort` + listph=`find $1 -maxdepth 1 -iname "*${prefix}*[0-9]*${suffix}*.[z*]raw" | sort` file_name_4D="${prefix}4D${suffix}.mhd"