Skip to content

Failed pytest, test_uniprot_functionality #2

@RossLabCSU

Description

@RossLabCSU

Probably a question more than an issue...
When I run pytest -v, one check fails. Below is the error message.
Metapredict_test_screenshot

I'm running from a Windows machine with conda: do you think this is caused by the known clash with conda-installed numpy, or is this simply a rounding difference? When I run the test manually within my own python script on a manually downloaded p53 sequence from Uniprot and use np.sum() for the test, I also get the same value that occurred during the pytest (173.04537763974952). However, when I run the same test with Python's built-in sum() function, I get 173.04537763974955 (maybe this also is a known behavior difference between np.sum() and built-in sum()).

More importantly, given the miniscule difference between the values compared by pytest, is it safe to say that identical regions are still being classified as disordered?

Thanks!
-Sean

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions