Skip to content

Commit

Permalink
Will no try to save processing info until I am given a path
Browse files Browse the repository at this point in the history
  • Loading branch information
cjtitus committed Nov 19, 2024
1 parent cdc8e8d commit 313635a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions process_tes.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def process_tes(uid, beamline_acronym="ucal", reprocess=False):
processing_info = handle_run(uid, catalog, save_directory, reprocess=reprocess)
# Save calibration information
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")
os.makedirs(dirname(cal_path), exist_ok=True)
Expand All @@ -58,5 +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 313635a

Please sign in to comment.