Skip to content

Commit

Permalink
skip metplus_final.conf in check for new output to prevent false alar…
Browse files Browse the repository at this point in the history
…m diffs
  • Loading branch information
georgemccabe committed Jul 28, 2022
1 parent 4d318db commit 748c098
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions metplus/util/diff_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ def compare_dir(dir_a, dir_b, debug=False, save_diff=False):

for filename in files:
filepath_b = os.path.join(root, filename)

# skip metplus_final.conf
if filepath_b.endswith('metplus_final.conf'):
continue

filepath_a = filepath_b.replace(dir_b, dir_a)
if not os.path.exists(filepath_a):
# check if missing file is actually diff file that was generated
Expand Down

0 comments on commit 748c098

Please sign in to comment.