X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=cluster_tools%2Fgate_power_merge.sh;h=9710866e1e06e793de1a0fcb35daf858eb95e66a;hb=1f9f2c7ad25fb505ca3b7a1c316a69df1ddb6324;hp=2e9776dc7559c5e940be7b3bd58a24cad4b45fcb;hpb=80d8acd3fdb896788e7bf866f44aa356a8ea9d96;p=clitk.git diff --git a/cluster_tools/gate_power_merge.sh b/cluster_tools/gate_power_merge.sh index 2e9776d..9710866 100755 --- a/cluster_tools/gate_power_merge.sh +++ b/cluster_tools/gate_power_merge.sh @@ -238,7 +238,13 @@ mkdir "${outputdir}" for outputfile in $(find "${rundir}" -regextype 'posix-extended' -type f -regex '.*\.(hdr|root|txt)' | awk -F '/' '{ print $NF }' | sort | uniq) do - merge_dispatcher "${outputfile}" + merge_dispatcher "${outputfile}" done +if [ -f "${rundir}/params.txt" ] +then + echo "copying params file" + cp "${rundir}/params.txt" "${outputdir}/params.txt" +fi + echo "these was ${warning_count} warning(s)"