From 872a01f021226bf038bcbbdb6b4472b86f0159ff Mon Sep 17 00:00:00 2001 From: Justin Haze Date: Mon, 30 Sep 2024 14:43:00 -0600 Subject: [PATCH] undo unneeded changes --- scos_actions/actions/acquire_sea_data_product.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scos_actions/actions/acquire_sea_data_product.py b/scos_actions/actions/acquire_sea_data_product.py index f8670d69..ecb25ce3 100644 --- a/scos_actions/actions/acquire_sea_data_product.py +++ b/scos_actions/actions/acquire_sea_data_product.py @@ -362,7 +362,7 @@ def run(self, iq: ray.ObjectRef) -> np.ndarray: # compute statistics first by cycle mean_power = power_bins.mean(axis=0) max_power = power_bins.max(axis=0) - #del power_bins + del power_bins # then do the detector pfp = np.array( @@ -738,9 +738,9 @@ def capture_diagnostics( switch_diag["door_closed"] = not bool(all_switch_status["door_state"]) # Read preselector sensors - #ps_diag = sensor.preselector.get_status() - #del ps_diag["name"] - #del ps_diag["healthy"] + ps_diag = sensor.preselector.get_status() + del ps_diag["name"] + del ps_diag["healthy"] # Read computer performance metrics cpu_diag = { # Start with CPU min/max/mean speeds @@ -816,7 +816,7 @@ def capture_diagnostics( logger.debug(f"Got all diagnostics in {toc-tic} s") diagnostics = { "datetime": utils.get_datetime_str_now(), - #"preselector": ntia_diagnostics.Preselector(**ps_diag), + "preselector": ntia_diagnostics.Preselector(**ps_diag), "spu": ntia_diagnostics.SPU(**switch_diag), "computer": ntia_diagnostics.Computer(**cpu_diag), "software": ntia_diagnostics.Software(**software_diag),