Skip to content

Commit

Permalink
Move the same change from ssp.py to sspmatrix.py in regard for checki…
Browse files Browse the repository at this point in the history
…ng that rpointer files are the same
  • Loading branch information
ekluzek committed Jan 14, 2025
1 parent 26fa594 commit 3b42fc1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cime_config/SystemTests/sspmatrixcn.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,10 @@ def run_phase(self):
os.symlink(item, linkfile)

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

try:
shutil.copy(item, rundir)
except shutil.SameFileError:
pass
#
# Run the case (Archiving on)
#
Expand Down

0 comments on commit 3b42fc1

Please sign in to comment.