From 313635a1386e59e1fd848ab9c2cbc25c964a41bf Mon Sep 17 00:00:00 2001 From: Charles Titus Date: Tue, 19 Nov 2024 00:51:39 -0500 Subject: [PATCH] Will no try to save processing info until I am given a path --- process_tes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/process_tes.py b/process_tes.py index eea8c3d..aa792ec 100644 --- a/process_tes.py +++ b/process_tes.py @@ -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) @@ -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