Skip to content
Snippets Groups Projects
Commit 18441f94 authored by Wouter Klijn's avatar Wouter Klijn
Browse files

Task #4518: fail at end prepare

parent e7c5b4a1
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,6 @@ class imager_prepare(LOFARnodeTCP):
time_slices_per_image, copied_ms_map, subbands_per_group,
processed_ms_dir, parset, ndppp_executable)
return 1;
# If no timeslices were created, bail out with exit status 1
if len(time_slices_path_list) == 0:
self.logger.error("No timeslices were created.")
......@@ -119,7 +118,7 @@ class imager_prepare(LOFARnodeTCP):
self.outputs["time_slices"] = \
time_slices_path_list
return 1;
return 0
def _copy_input_files(self, processed_ms_dir, input_map):
......
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