Nose tests cannot find data set files
See original GitHub issueThe nose tests seem to expect the data sets from https://github.com/choderalab/pymbar-datasets to be in a directory in my home folder named pymbar_data
. However, it seems like some of the files are not matching up. Here is my output from those tests (I assume the first two go with these data sets as well):
pymbar.tests.test_covariance.test_gas ... SKIP: skip
pymbar.tests.test_covariance.test_8proteins ... SKIP: skip
pymbar.tests.test_mbar_solvers.test_gas ... SKIP: Cannot load dataset; skipping test. Try downloading pymbar-datasets GitHub repository and setting PYMBAR-DATASETS environment variable. Error was '``/home/wes/pymbar_data/gas-properties/gas-properties.h5`` does not exist'
pymbar.tests.test_mbar_solvers.test_8proteins ... SKIP: Cannot load dataset; skipping test. Try downloading pymbar-datasets GitHub repository and setting PYMBAR-DATASETS environment variable. Error was '``/home/wes/pymbar_data/8proteins/8proteins.h5`` does not exist'
I can’t find gas-properties.h5
or 8proteins.h5
in the pymbar-datasets git repo.
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
'No such file or directory' error when using nosetests
I have a little Python project of which I recently made a Conda package. Making the package was a pain on its own,...
Read more >Nose Tests discovery fails when tests are split by folders and ...
Nose Tests discovery fails when tests are split by folders and imported to __init__.py (wantModule and wantDirectory are not parsed) #7124.
Read more >Run/Debug Configuration: Nosetests - PyCharm - JetBrains
This is helpful when a run configuration consumes a lot of resources and there is no good reason to run multiple instances. Store...
Read more >Collecting test data - CircleCI
A guide to collecting test data in your CircleCI projects.
Read more >Cover: code coverage — nose 1.3.7 documentation - Nosetests
The coverage report will cover any python source module imported after the start of the test run, excluding modules that match testMatch. If...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
We’re going to remove those tests until we have someone who is willing to maintain working versions of them. Thanks for pointing this out!
And they would not be able to, because the code was broken and not fully documented.
Even if they are examples, there should still be some continuous integration mechanism in place that tests to make sure they still work despite changes to
pymbar
or upstream tools (such aspytables
). Without this and nobody to maintain them, they are no longer useful here.