-
Notifications
You must be signed in to change notification settings - Fork 93
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
Revamping of PMF #327
Revamping of PMF #327
Conversation
I mean we should make sure the tests are updated in a way to maximally hit lines of code, especially since this is a new module. The existing tests I think just run through the PMF computation, but not necessarily all the functions and code paths. We can do this in another PR to avoid making this one too large, especially since I want to change from Nose -> Pytest |
I'm of the opinion lets get this in, then we can work on creating tests and whatnot after I handle #330. I have some time today so I'd like to get the test framework switched over, and start on #332 as well. Since this is all on the |
@jchodera Do you want to take an overall look at how this is structured? There's a couple of things that need to be done with the usability of the MCMC sampling of parameters, but it would be good to know if there are any showstoppers about the general usability and way it is presented. Check the examples to see how PMF's are now generated for most users. |
mbar_computePMF test obviously failing, since the function doesn't exist. Should be completely fixed in the near future by adding a test_pmf.py file (test_bar.py and test_exp.py need to be done as well!), but for now I have removed the broken function call. |
Great! If this is good to go in your book, go ahead and merge! |
Note: address issue with a deprecated KDE functionality being used. |
Codecov Report
@@ Coverage Diff @@
## pymbar4 #327 +/- ##
==========================================
Coverage ? 42.92%
==========================================
Files ? 14
Lines ? 2947
Branches ? 0
==========================================
Hits ? 1265
Misses ? 1682
Partials ? 0
Continue to review full report at Codecov.
|
OK, failed because the conda-recipe (I think?) doesn't have sklearn. So it will need to be added to run kernel density calculations. |
Let's go with merging this now with basic tests now implemented? |
Here's my proposed revamping of PMF functionality. I'd love to get comments so we can merge this in for pymbar4. I anticipate there may be some requested changes, so I'd love to get started on them.