From 4f70b3ff43c75b6ab74a56c2b63f64b28f2c6090 Mon Sep 17 00:00:00 2001 From: Romulo Pinho Date: Fri, 27 Apr 2012 11:26:02 +0200 Subject: [PATCH] take into account compressed MHD files --- scripts/create_mhd_4D.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.45.1