Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lee1043 committed May 1, 2024
1 parent abbbd9a commit 91bb1c9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pcmdi_metrics/variability_mode/variability_modes_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,9 +564,7 @@
# try:
if 1:
if realization == "*":
run = re.split("[._]", (model_path.split("/")[-1]).split("."))[
run_in_modpath
]
run = re.split("[._]", model_path.split("/")[-1])[run_in_modpath]
else:
run = realization
print(" --- ", run, " ---")
Expand Down

0 comments on commit 91bb1c9

Please sign in to comment.