Permalink
Browse files

Merge pull request #12860 from bwspenc/csvdiff

Floating point formatting in csvdiff reports
  • Loading branch information...
milljm committed Feb 7, 2019
2 parents 5b82bd4 + ab4058d commit 6ce9ec164d3c273a7bf08c607e76ad7460abda13
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/mooseutils/csvdiff.py
@@ -323,7 +323,7 @@ def diff(self):
except:
rel_tol = self.rel_tol
if rel_diff > rel_tol:
self.addError(self.files[1], "The values in column \"%s\" don't match @ t%d\n\trelative diff: %f ~ %f = %f (%.3e)" % (key.strip(),
self.addError(self.files[1], "The values in column \"%s\" don't match @ t%d\n\trelative diff: %.3e ~ %.3e = %.3e (%.3e)" % (key.strip(),
table2[key].index(val2),
val1,
val2,

0 comments on commit 6ce9ec1

Please sign in to comment.