Skip to content

Commit

Permalink
try to satisfy tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Mar 13, 2024
1 parent afa189f commit ce020b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CIME/baselines/performance.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def perf_compare_memory_baseline(case, baseline_dir=None):
tolerance = 0.1

baseline_file = os.path.join(baseline_dir, "cpl-mem.log")
if not os.path.exists(baseline_file):
if os.path.exists(baseline_dir) and not os.path.exists(baseline_file):
return True, ": No baseline memory file present"

baseline = read_baseline_file(baseline_file)
Expand Down

0 comments on commit ce020b3

Please sign in to comment.