Skip to content

Commit

Permalink
Do not have permission to write to shared/config/ucal, trying legacy
Browse files Browse the repository at this point in the history
  • Loading branch information
cjtitus committed Nov 19, 2024
1 parent 9a648f4 commit cdc8e8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion process_tes.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def process_tes(uid, beamline_acronym="ucal", reprocess=False):
# Process the run
processing_info = handle_run(uid, catalog, save_directory, reprocess=reprocess)
# Save calibration information
config_path = "/nsls2/data/sst/shared/config/ucal/processing_status"
config_path = "/nsls2/data/sst/legacy/ucal/process_info"

if "data_calibration_info" in processing_info:
cal_path = get_processing_info_file(config_path, "calibration")
Expand All @@ -58,4 +58,5 @@ def process_tes(uid, beamline_acronym="ucal", reprocess=False):
with open(proc_path, "wb") as f:
pickle.dump(processing_info["data_processing_info"], f)
logger.info(f"Saved processing info to {proc_path}")

return processing_info

0 comments on commit cdc8e8d

Please sign in to comment.