From c429feaf38caf04c8041418f9353cb5019eecff6 Mon Sep 17 00:00:00 2001 From: Jiwoo Lee Date: Wed, 3 Jan 2024 13:07:53 -0800 Subject: [PATCH] Clean up from testing Update variability_modes_driver.py --- pcmdi_metrics/variability_mode/variability_modes_driver.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pcmdi_metrics/variability_mode/variability_modes_driver.py b/pcmdi_metrics/variability_mode/variability_modes_driver.py index b5d6e0e17..a2b56a93f 100755 --- a/pcmdi_metrics/variability_mode/variability_modes_driver.py +++ b/pcmdi_metrics/variability_mode/variability_modes_driver.py @@ -546,8 +546,7 @@ # Run # ------------------------------------------------- for model_path in model_path_list: - # try: - if 1: + try: if realization == "*": run = (model_path.split("/")[-1]).split(".")[run_in_modpath] else: @@ -1022,14 +1021,12 @@ run=run, cmec_flag=cmec, ) - """ except Exception as err: if debug: raise else: print("warning: failed for ", model, run, err) pass - """ # ======================================================================== # Dictionary to JSON: collective JSON at the end of model_realization loop # ------------------------------------------------------------------------