]> Creatis software - clitk.git/blobdiff - cluster_tools/gate_power_merge.sh
Merge dose by region uncertainties using Gate uncertainty calculation
[clitk.git] / cluster_tools / gate_power_merge.sh
index bc3b3e033450749631b4fe60401c04a86b6d6a2f..b2ced88862b9f61b4f6cd20ab4c45006502b68ac 100755 (executable)
@@ -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"
 }