Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
lee1043 committed May 1, 2024
1 parent 91bb1c9 commit 1392682
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pcmdi_metrics/variability_mode/variability_modes_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,8 +561,7 @@
# -------------------------------------------------
for model_path in model_path_list:
print("model_path:", model_path)
# try:
if 1:
try:
if realization == "*":
run = re.split("[._]", model_path.split("/")[-1])[run_in_modpath]
else:
Expand Down Expand Up @@ -1029,14 +1028,14 @@
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
# ------------------------------------------------------------------------
Expand Down

0 comments on commit 1392682

Please sign in to comment.