diff --git a/CEP/Pipeline/recipes/sip/bin/msss_imager_pipeline.py b/CEP/Pipeline/recipes/sip/bin/msss_imager_pipeline.py index 8b075b094d87a9eeeb29b077a73584357959721a..f2ce16de7cad52ae7019ee5ccb71c4459852c269 100755 --- a/CEP/Pipeline/recipes/sip/bin/msss_imager_pipeline.py +++ b/CEP/Pipeline/recipes/sip/bin/msss_imager_pipeline.py @@ -273,8 +273,8 @@ class msss_imager_pipeline(control): # MS per image. It must be stored on the same host as the final image. self.target_data = copy.deepcopy(self.output_data) - for item in self.target_data: - item.file = os.path.join(self.scratch_directory, 'concat.ms') + for idx, item in enumerate(self.target_data): + item.file = os.path.join(self.scratch_directory, 'ms_per_image_%d' % idx, 'concat.ms') @xml_node diff --git a/CEP/Pipeline/recipes/sip/bin/selfcal_imager_pipeline.py b/CEP/Pipeline/recipes/sip/bin/selfcal_imager_pipeline.py index 0d1e725ddf7cf44fffcea1dd13944c229ec07230..040e51e7b9291f16593b20398604de04fc53c519 100644 --- a/CEP/Pipeline/recipes/sip/bin/selfcal_imager_pipeline.py +++ b/CEP/Pipeline/recipes/sip/bin/selfcal_imager_pipeline.py @@ -446,8 +446,8 @@ class selfcal_imager_pipeline(control): # MS per image. It must be stored on the same host as the final image. self.target_data = copy.deepcopy(self.output_data) - for item in self.target_data: - item.file = os.path.join(self.scratch_directory, 'concat.ms') + for idx, item in enumerate(self.target_data): + item.file = os.path.join(self.scratch_directory, 'ms_per_image_%d' % idx, 'concat.ms') @xml_node