Skip to content

Commit

Permalink
Don't delete old diags when testing, these may be needed for manual i…
Browse files Browse the repository at this point in the history
…nspection. mom-ocean#328
  • Loading branch information
Nicholas Hannah committed Nov 17, 2016
1 parent 4ac2a56 commit 64e809c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion src/MOM6
Submodule MOM6 updated 0 files
6 changes: 0 additions & 6 deletions tools/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,7 @@ def exp(request):
exp.run()
# Dump all available diagnostics, if they haven't been already.
if not exp.has_dumped_diags:
# Before dumping we delete old ones if they exist.
diags = exp.parse_available_diags()
for d in diags:
try:
os.remove(d.output)
except OSError:
pass

dump_diags(exp, diags)
exp.has_dumped_diags = True
Expand Down

0 comments on commit 64e809c

Please sign in to comment.