diff --git a/CEP/Pipeline/recipes/sip/nodes/imager_prepare.py b/CEP/Pipeline/recipes/sip/nodes/imager_prepare.py index c13edc9cfb38b4e5931d4f8439f03d010fbdc31d..9b42876600dcff7b25791c95663de1ba714d6092 100644 --- a/CEP/Pipeline/recipes/sip/nodes/imager_prepare.py +++ b/CEP/Pipeline/recipes/sip/nodes/imager_prepare.py @@ -297,9 +297,6 @@ class imager_prepare(LOFARnodeTCP): temp_slice_path = os.path.join(rfi_temp_dir, os.path.basename(time_slice)) create_directory(temp_slice_path) - # Each rfi console needs own working space for temp files - temp_dir_path = os.path.join(rfi_temp_dir, os.path.basename(group_set)) - create_directory(temp_dir_path) # construct copy command self.logger.info(time_slice) command = [rficonsole_executable, "-indirect-read", @@ -315,7 +312,7 @@ class imager_prepare(LOFARnodeTCP): raise Exception("an rfi_console_proc_group run failed!") finally: - shutil.rmtree(temp_dir_path) + shutil.rmtree(rfi_temp_dir) def _filter_bad_stations(self, group_measurements_collected, asciistat_executable, statplot_executable, msselect_executable):