Skip to content

Commit

Permalink
accomodate old rpointer file naming in builnml check
Browse files Browse the repository at this point in the history
  • Loading branch information
alperaltuntas committed Nov 4, 2024
1 parent 16a7571 commit 42cd174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cime_config/buildnml
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ def prechecks(case, inst_suffixes):
if not testcase and (run_type != "startup" or continue_run):
for inst_suffix in inst_suffixes:
rpointer_pattern = (
r"rpointer\.ocn" + inst_suffix + r"\.\d{4}-\d{2}-\d{2}-\d{5}"
r"rpointer\.ocn" + inst_suffix + r"(\.\d{4}-\d{2}-\d{2}-\d{5})?$"
)
rpointer_files = [
f for f in os.listdir(rundir) if re.match(rpointer_pattern, f)
Expand Down

0 comments on commit 42cd174

Please sign in to comment.