Skip to content

Commit

Permalink
Fix ERI test.
Browse files Browse the repository at this point in the history
  • Loading branch information
fischer-ncar authored and lizziel committed Mar 22, 2024
1 parent 3e082d6 commit e0ca810
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 e0ca810

Please sign in to comment.