Skip to content
Snippets Groups Projects
Commit e691616c authored by Jan David Mol's avatar Jan David Mol
Browse files

Task #8437: Use globally unique location for concat.ms to support scratch dir on globalfs

parent 62134b1c
No related branches found
No related tags found
No related merge requests found
......@@ -265,8 +265,8 @@ class imaging_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
......
......@@ -206,8 +206,8 @@ class longbaseline_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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment