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

Task #8993: Backport of fix from #9192 for long-baseline pipelines

parent 333ce0e6
No related branches found
No related tags found
No related merge requests found
......@@ -58,6 +58,8 @@ class long_baseline(LOFARnodeTCP):
# I. Create the directories used in this recipe
create_directory(processed_ms_dir)
create_directory(working_dir)
create_directory(os.path.dirname(output_measurement_set))
create_directory(os.path.dirname(final_output_path))
# time slice dir_to_remove: assure empty directory: Stale data
# is problematic for dppp
......@@ -499,12 +501,6 @@ class long_baseline(LOFARnodeTCP):
table = pt.table(output_measurement_set)
try:
os.makedirs(os.path.dirname(final_output_path))
except:
pass # do nothing, the path already exists, we can output to this
# location
table.copy(final_output_path, deep=True)
......
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