Skip to content

Commit

Permalink
Merge pull request #1017 from PCMDI/lee1043-patch-2
Browse files Browse the repository at this point in the history
Clean up that were left from testing
  • Loading branch information
lee1043 committed Jan 3, 2024
2 parents 21e9520 + 5c2f94a commit 232d3ee
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pcmdi_metrics/variability_mode/variability_modes_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
# ------------------------------------------------------------------------
Expand Down

0 comments on commit 232d3ee

Please sign in to comment.