Adds unwrap keyword to Asphericity method#2290
Merged
richardjgowers merged 20 commits intoMDAnalysis:developfrom Jul 10, 2019
NinadBhat:asphericity-unwrap
Merged
Adds unwrap keyword to Asphericity method#2290richardjgowers merged 20 commits intoMDAnalysis:developfrom NinadBhat:asphericity-unwrap
richardjgowers merged 20 commits intoMDAnalysis:developfrom
NinadBhat:asphericity-unwrap
Conversation
Merge Upstream
Updating fork
Contributor
Author
|
Will make changes to this once #2288 is merged |
Codecov Report
@@ Coverage Diff @@
## develop #2290 +/- ##
===========================================
+ Coverage 89.66% 89.67% +<.01%
===========================================
Files 172 172
Lines 21421 21427 +6
Branches 2792 2794 +2
===========================================
+ Hits 19208 19214 +6
Misses 1616 1616
Partials 597 597
Continue to review full report at Codecov.
|
4 tasks
richardjgowers
requested changes
Jul 9, 2019
| @warn_if_not_unique | ||
| def asphericity(group, pbc=None): | ||
| @check_pbc_and_unwrap | ||
| def asphericity(group, pbc=None, unwrap=None, compound='group'): |
Member
There was a problem hiding this comment.
You're adding a compound kwarg here with no tests, it's probably best not to add it now
Contributor
Author
There was a problem hiding this comment.
I have added tests for compound now. Should I remove it?
richardjgowers
approved these changes
Jul 10, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2291
Changes made in this Pull Request:
PR Checklist