Use Results class for PCA Analysis#3285
Conversation
|
Hello @PicoCentauri! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2021-05-27 19:54:14 UTC |
Codecov Report
@@ Coverage Diff @@
## develop #3285 +/- ##
===========================================
+ Coverage 92.88% 93.61% +0.73%
===========================================
Files 171 176 +5
Lines 22323 22835 +512
Branches 3224 3224
===========================================
+ Hits 20734 21378 +644
- Misses 1043 1406 +363
+ Partials 546 51 -495
Continue to review full report at Codecov.
|
IAlibay
left a comment
There was a problem hiding this comment.
Couple comments, not too sure about the docstring change (it looks good to me, but I don't remember if that was the direction we wanted to go to or not).
Co-authored-by: Irfan Alibay <IAlibay@users.noreply.github.com>
IAlibay
left a comment
There was a problem hiding this comment.
Keeping my request changes status as a blocking comment because I think the mean_atoms path needs further thought (at least on how we will handle it for 2.0).
It's not really a problem with this PR, but that code path really doesn't seem to work (at least me atm), and I'd prefer we fix #2728 before we do any further changes. We could merge as-is and then promise to fix #2728 before the full release too, so I'll just leave it up for discussion and go with the majority opinion.
|
Not sure where we are with the soft code freeze. However, if we want PCA for the workshop then this PR needs to go in, even if mean atoms still needs fixing. However, we can always add fixes, we have a hard time putting in breaking changes so I would suggest to move forward with this PR. I’m sorry, I have limited bandwidth today to do more. |
Sorry, I can't do any more today. If @fiona-naughton or one of the @MDAnalysis/coredevs wants to push this through then that'd be great. See discord for more on what our priority merges should be. |
|
If it's agreed that But the updated docs here reflects that it's just the atom selection rather than implying anything about positions and it's not used anywhere else, so the only issue I can see is the name being misleading - so ultimately I'd say it's fine to just leave it as is. Eventually I think we can get rid of it, or just return the position array instead, but that can wait for another day. tl;dr I say leave |
Co-authored-by: Fiona Naughton <fiona.naughton@asu.edu>
|
Will look at this PR as soon as PR #3296 is merged. |
|
Note that PR #3296 removes |
|
@fiona-naughton @IAlibay please re-review after removal of mean_atoms. Thanks. |
|
The docs for MDAnalysis.analysis.pca.PCA.cumulative_overlap and rmsip contain a badly rendered See Also section. Would you be able to fix these as well? I am appealing to your 🇩🇪 sense for tidiness ;-). |
orbeckst
left a comment
There was a problem hiding this comment.
incorrect links in See Also ... maybe my suggestions fix it
|
@fiona-naughton @IAlibay I assume you're knackered after non-stop workshopping but if you could have a look if this PR finds your approval then we could make another big check mark. (Fixing docs is ongoing) |
|
Thanks, for fixing the link @orbeckst! |
IAlibay
left a comment
There was a problem hiding this comment.
Just the one change, otherwise lgtm (I'll approve so I'm not blocking).
|
I am messing up with the docs — I'll now fix this for once and for all. |
|
@IAlibay , ready for you; the docs for rmsip and cumulative_overlap finally show up, too! |
|
Thanks for all the work here @PicoCentauri and @orbeckst ! |
Fixes #3275
Changes made in this Pull Request:
Move the results of the PCA analysis to the new results class
PR Checklist