X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=cluster_tools%2Fgate_power_merge.sh;h=b2ced88862b9f61b4f6cd20ab4c45006502b68ac;hb=d27b2f45396b69a0d3e61a2179b3d0c784ff9652;hp=bc3b3e033450749631b4fe60401c04a86b6d6a2f;hpb=3566b753a5db63397cb87ca4dd84578238749ca4;p=clitk.git diff --git a/cluster_tools/gate_power_merge.sh b/cluster_tools/gate_power_merge.sh index bc3b3e0..b2ced88 100755 --- a/cluster_tools/gate_power_merge.sh +++ b/cluster_tools/gate_power_merge.sh @@ -217,14 +217,13 @@ function merge_doseByRegions { if test ! -f "${merged}" then update_bar ${count} "copying first partial result ${partial}" - addWithoutPartialResult -i "${partial}" -o "${merged}" + cp "${partial}" "${merged}" continue fi update_bar ${count} "adding ${partial}" addToPartialResult -i "${merged}" -j "${partial}" -o "${merged}" 2> /dev/null > /dev/null || warning "error while calling ${doseMerger}" done - divideUncertaintyResult -i "${merged}" -j "${count}" -o "${merged}" end_bar echo " ${indent}merged ${count} files" }