]> Creatis software - clitk.git/commitdiff
bugfix in gate_power_merge.sh
authorPierre Gueth <gueth@linux6.dg.creatis.insa-lyon.fr>
Wed, 4 Jul 2012 15:29:55 +0000 (17:29 +0200)
committerSimon Rit <simon.rit@creatis.insa-lyon.fr>
Thu, 27 Jun 2013 12:47:29 +0000 (14:47 +0200)
cluster_tools/gate_power_merge.sh

index aec1ce801a6ef5d34f90a1d5a0ad4fe0a2e3289b..9878fff61fbd40c3c483a4bd9f57fabe717f9cfd 100755 (executable)
@@ -299,7 +299,7 @@ echo "output dir is ${outputdir}"
 test -d "${outputdir}" && rm -r "${outputdir}"
 mkdir "${outputdir}"
 
-for outputfile in $(find "${rundir}" -regextype 'posix-extended' -type f -regex "${rundir}/output.*\.(hdr|root|txt)" | awk -F '/' '{ print $NF; }' | sort | uniq)
+for outputfile in $(find "${rundir}" -regextype 'posix-extended' -type f -regex "${rundir}/output.*\.(hdr|mhd|root|txt)" | awk -F '/' '{ print $NF; }' | sort | uniq)
 do
     merge_dispatcher "${outputfile}"
 done