Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests for Utils and Visuals #421

Closed
wants to merge 30 commits into from
Closed

Conversation

marjoleinpnnl
Copy link
Contributor

No description provided.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@marjoleinpnnl marjoleinpnnl changed the title Tests for Petri and Plot Utils Tests for Utils and Visuals Dec 4, 2023
@djinnome
Copy link
Contributor

djinnome commented Jan 4, 2024

It is weird that this only fails in Python 3.11. Do you think this is a version issue, or is this just due to the randomness of posterior density estimates?

Here is the error message:

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED test/test_petrinet_ode/test_ode_interfaces.py::TestODEInterfaces::test_get_posterior_density_petri - AssertionError: 0.0 not greater than 0.0
============ 1 failed, 124 passed, 68 warnings in 102.16s (0:01:42) ============
Error: Process completed with exit code 1.

@marjoleinpnnl
Copy link
Contributor Author

I think due to randomness because it does work with version 3.11 sometimes.

@SamWitty
Copy link
Contributor

I believe this PR has been subsumed by #469. Please reopen this PR if you believe it was closed by mistake.

@SamWitty SamWitty closed this Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants