Skip to content
Snippets Groups Projects
Commit 1cf31217 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 a9addc16
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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
......
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