Remove and ignore visualization side-effect outputs

This commit is contained in:
Michael Osthege 2024-10-07 19:44:07 +02:00 committed by Andreas
parent 987bffe148
commit f4661b0043
3 changed files with 7 additions and 0 deletions

3
.gitignore vendored
View File

@ -245,3 +245,6 @@ $RECYCLE.BIN/
# Windows shortcuts
*.lnk
# Visualization side effects
**/visualization_results.pdf

View File

@ -32,3 +32,7 @@ def test_optimize(fn_in, fn_out):
# This does not assert that the optimization always gives the same result!
# Reproducibility and mathematical accuracy should be tested on the level of individual components.
assert set(ergebnis) == set(expected_output_data)
# The function creates a visualization result PDF as a side-effect.
fp_viz = Path(".") / "visualization_results.pdf"
assert fp_viz.exists()

Binary file not shown.