Skip to content

Commit

Permalink
Update checksum reset message
Browse files Browse the repository at this point in the history
  • Loading branch information
EZoni committed Sep 9, 2024
1 parent e762369 commit 28c3837
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Regression/Checksum/checksum.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,8 @@ def evaluate(self, rtol=1.0e-9, atol=1.0e-40):
rel_err = abs_err / np.abs(x)
print("Relative error: {:.2e}".format(rel_err))
if checksums_differ:
print("\n----------------\nNew file for " + self.test_name + ":")
print(f"\nNew benchmark file ({self.test_name}.json)")
print("------------------")
print(json.dumps(self.data, indent=2))
print("----------------")
print()
sys.exit(1)

0 comments on commit 28c3837

Please sign in to comment.