Skip to content

Commit

Permalink
Fix ERI test.
Browse files Browse the repository at this point in the history
  • Loading branch information
fischer-ncar committed Feb 21, 2024
1 parent 6f54e00 commit 496da7c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CIME/SystemTests/eri.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ def _get_rest_date(archive_root):

def _helper(dout_sr, refdate, refsec, rundir):
rest_path = os.path.join(dout_sr, "rest", "{}-{}".format(refdate, refsec))

if not os.path.exists(rundir):
os.makedirs(rundir)
for item in glob.glob("{}/*{}*".format(rest_path, refdate)):
dst = os.path.join(rundir, os.path.basename(item))
if os.path.exists(dst):
Expand Down

0 comments on commit 496da7c

Please sign in to comment.