Skip to content
Snippets Groups Projects
Commit 9b34ba95 authored by Mattia Mancini's avatar Mattia Mancini
Browse files

SSB-47: fix path for on error save

parent 33c5bc56
No related branches found
No related tags found
1 merge request!44Merge back holography to master
...@@ -31,7 +31,7 @@ def log_step_execution(step_description): ...@@ -31,7 +31,7 @@ def log_step_execution(step_description):
logger.exception('exception occurred performing step %s: %s', logger.exception('exception occurred performing step %s: %s',
step_description, e) step_description, e)
if isinstance(input, datacontainers.HolographyDataset): 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) sys.exit(1)
return wrapper return wrapper
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment