From 855cbced296ae0197f6725e2e6bf255c5cce16a2 Mon Sep 17 00:00:00 2001 From: Simon Rit Date: Mon, 30 Sep 2013 16:09:44 +0200 Subject: [PATCH] Allow for uncertainties which name does not start with output --- cluster_tools/gate_power_merge.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster_tools/gate_power_merge.sh b/cluster_tools/gate_power_merge.sh index fe1784a..f82a119 100755 --- a/cluster_tools/gate_power_merge.sh +++ b/cluster_tools/gate_power_merge.sh @@ -517,7 +517,7 @@ done echo "" echo "Merging done. Special case for statistical uncertainty" -for outputfile in $(find "${outputdir}" -regextype 'posix-extended' -type f -regex "${outputdir}/output.*\.(hdr|mhd|root|txt)" | awk -F '/' '{ print $NF; }' | sort | uniq) +for outputfile in $(find "${outputdir}" -regextype 'posix-extended' -type f -regex "${outputdir}/.*\.(hdr|mhd|root|txt)" | awk -F '/' '{ print $NF; }' | sort | uniq) do merge_dispatcher_uncertainty "${outputfile}" done -- 2.47.1