gyration_moments method / allow shape parameters to yield per residue quantities#3905
gyration_moments method / allow shape parameters to yield per residue quantities#3905hmacdope merged 14 commits intoMDAnalysis:developfrom
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## develop #3905 +/- ##
========================================
Coverage 93.56% 93.56%
========================================
Files 191 191
Lines 25065 25075 +10
Branches 4042 4049 +7
========================================
+ Hits 23452 23462 +10
Misses 1093 1093
Partials 520 520
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
hmacdope
left a comment
There was a problem hiding this comment.
Few comments and queries. :)
|
@jaclark5 would you be able to fix conflicts / trigger CI and we can go from there? Might also be good to have another pair of eyes @MDAnalysis/coredevs? |
|
@hmacdope These errors occur from the new Bibtex citation style. This would be resolved with the following changes: Recall that these changes were added so that the tests would pass in my other PR #3842. So as soon as those are merged, I'll update this PR with the develop branch ;) |
|
@hmacdope I'm now getting an error in the tests from MDAnalysis/coordinate/XTC.py |
@jaclark5 are you getting this locally? If you so you might need to pip install MDAnalysis again. |
|
I am getting it locally. Good point, thanks. Edit: That worked |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
hmacdope
left a comment
There was a problem hiding this comment.
Looking good just a few little things :)
8a46df5 to
3899bdd
Compare
|
@MDAnalysis/coredevs still looking for a second review here. :) |
Bump on this @MDAnalysis/coredevs? |
orbeckst
left a comment
There was a problem hiding this comment.
Thanks for the fix and code consolidation. I had a quick look through and mainly noticed doc things.
Did we have tests for the case where the methods actually worked as expected and do these tests still produce the same values?
| Renamed `pbc` kwarg to `wrap`. `pbc` is still accepted but | ||
| is deprecated and will be removed in version 3.0. | ||
| .. versionchanged:: 2.5.0 | ||
| Added use of gyration_moments for per residue quantities |
There was a problem hiding this comment.
Is this important for the user to know how the quantities are computed? I'd assume the more important message is what you have in the CHANGELOG: since 2.5.0 you can calculate asphericity for any compound.
There was a problem hiding this comment.
That's what I was going for with "for per residue quantities" but hopeful the change is more clear.
|
I kept the same testing structure that existed, some results stayed the same and others changed. For a calculation with the entire atom group, the result stayed the same (line 1098, 1120 in the test file.). In the tests where other |
|
sorry, I currently only have very limited time and won't be able to review soon |
|
actually... that should be quick |
|
Brilliant! two reviews. I will merge now. |
… per residue quantities
Fixes #3002
Fixes #3904
Changes made in this Pull Request:
PR Checklist