]> Creatis software - clitk.git/commitdiff
take into account compressed MHD files
authorRomulo Pinho <romulo.pinho@lyon.unicancer.fr>
Fri, 27 Apr 2012 09:26:02 +0000 (11:26 +0200)
committerRomulo Pinho <romulo.pinho@lyon.unicancer.fr>
Fri, 27 Apr 2012 09:26:02 +0000 (11:26 +0200)
scripts/create_mhd_4D.sh

index b363f7e3034c3143755923a3904b0fbbf8a7596e..ff45d631ecf4c5762a42161f9e2a5bef022d2c38 100755 (executable)
@@ -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"