From 9b34ba95e7288077d88d78d5b37f83067d479908 Mon Sep 17 00:00:00 2001 From: mancini <mancini@astron.nl> Date: Fri, 23 Aug 2019 09:50:35 +0200 Subject: [PATCH] SSB-47: fix path for on error save --- CAL/CalibrationProcessing/bin/holography_process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CAL/CalibrationProcessing/bin/holography_process.py b/CAL/CalibrationProcessing/bin/holography_process.py index 2bb5c146403..529b22beb68 100644 --- a/CAL/CalibrationProcessing/bin/holography_process.py +++ b/CAL/CalibrationProcessing/bin/holography_process.py @@ -31,7 +31,7 @@ def log_step_execution(step_description): logger.exception('exception occurred performing step %s: %s', step_description, e) if isinstance(input, datacontainers.HolographyDataset): - store_step(input, FAIL_SAVE_STORAGE_PATH + 'ERROR-%s.hdf5' % input.target_station_name) + store_step(input, os.path.join(FAIL_SAVE_STORAGE_PATH, 'ERROR-%s.hdf5' % input.target_station_name)) sys.exit(1) return wrapper -- GitLab