From 3b4cefd91982f6c4f93e09bf0a3b71ab64ffacae Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Tue, 2 Aug 2016 08:01:31 +0000
Subject: [PATCH] Task #9717: Prevent target pipeline from moving its input
 files

---
 CEP/Pipeline/recipes/sip/bin/msss_target_pipeline.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/CEP/Pipeline/recipes/sip/bin/msss_target_pipeline.py b/CEP/Pipeline/recipes/sip/bin/msss_target_pipeline.py
index f628424d523..1d8cee64e7e 100755
--- a/CEP/Pipeline/recipes/sip/bin/msss_target_pipeline.py
+++ b/CEP/Pipeline/recipes/sip/bin/msss_target_pipeline.py
@@ -146,7 +146,8 @@ class msss_target_pipeline(control):
                       mapfile_source=source_path,
                       mapfile_target=target_path,
                       mapfiles_dir=copier_map_path,
-                      mapfile=copied_files_path)['mapfile_target_copied']
+                      mapfile=copied_files_path,
+                      allow_move=False)['mapfile_target_copied']
 
         # Some copy action might fail; the skip fields in the other map-files
         # need to be updated these to reflect this.
@@ -308,7 +309,8 @@ class msss_target_pipeline(control):
                 mapfile_source=bbs_mapfile,
                 mapfile_target=corrected_mapfile,
                 mapfiles_dir=mapfile_dir,
-                mapfile=corrected_mapfile
+                mapfile=corrected_mapfile,
+                allow_move=True
             )
 
         # *********************************************************************
-- 
GitLab