Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions CIME/case/case_st_archive.py
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ def _archive_restarts_date_comp(
srcfile = os.path.join(rundir, histfile)
destfile = os.path.join(archive_restdir, histfile)
expect(
os.path.exists(srcfile),
os.path.exists(srcfile) or os.path.islink(srcfile),
"history restart file {} for last date does not exist ".format(
srcfile
),
Expand All @@ -662,7 +662,7 @@ def _archive_restarts_date_comp(
srcfile = os.path.join(rundir, rfile)
destfile = os.path.join(archive_restdir, rfile)
expect(
os.path.exists(srcfile),
os.path.exists(srcfile) or os.path.islink(srcfile),
"restart file {} does not exist ".format(srcfile),
)
logger.info(
Expand All @@ -678,7 +678,7 @@ def _archive_restarts_date_comp(
srcfile = os.path.join(rundir, histfile)
destfile = os.path.join(archive_restdir, histfile)
expect(
os.path.exists(srcfile),
os.path.exists(srcfile) or os.path.islink(srcfile),
"hist file {} does not exist ".format(srcfile),
)
logger.info("copying {} to {}".format(srcfile, destfile))
Expand Down
Loading