Skip to content

Commit

Permalink
sometimes this is the same file, avoid error in this case
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Jan 2, 2025
1 parent d4855ca commit 59b0aa5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cime_config/SystemTests/ssp.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,10 @@ def run_phase(self):
os.symlink(item, link_name)

for item in glob.glob("{}/*rpointer*".format(rest_path)):
shutil.copy(item, rundir)

try:
shutil.copy(item, rundir)
except shutil.SameFileError:
pass
self._case.set_value("CLM_ACCELERATED_SPINUP", "off")
self._case.set_value("RUN_TYPE", "hybrid")
self._case.set_value("GET_REFCASE", False)
Expand Down

0 comments on commit 59b0aa5

Please sign in to comment.