You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Towards #597, this PR adds tests that check if get_num_atoms in PSAnalysis and Path raises a ValueError and displays "No path data"
Thanks for all the help, and please let me know if there is anything I can improve on!
Edit: added 2 new tests for psa.get_num_paths and psa.get_paths as I realized those functions needed similar testing. That should cover all the "no path data" type exceptions in the PSA module.
The text was updated successfully, but these errors were encountered:
* Add tests for exception raise in PSA (per issue #597)
* Towards #597
* Checks that get_num_atoms in PSAnalysis and Path raises a ValueError
and displays "No path data"
* Fix linting issues and add to AUTHORS
* Fix comments for clarity
* Make fixture for Universe and add paths tests
* Make universe1 = mda.Universe(PSF, DCD) a fixture
* Add similar tests to raise ValueErrors for get_num_paths
and get_paths
* Reorganize tests under class TestPSAExceptions
* Remove trailing whitespace
* Collapse tests into one test
* Add and revise comments for clarity
* Update CHANGELOG
Towards #597, this PR adds tests that check if get_num_atoms in PSAnalysis and Path raises a ValueError and displays "No path data"
Thanks for all the help, and please let me know if there is anything I can improve on!
Edit: added 2 new tests for psa.get_num_paths and psa.get_paths as I realized those functions needed similar testing. That should cover all the "no path data" type exceptions in the PSA module.
The text was updated successfully, but these errors were encountered: