Skip to content

Add unwrap keyword to radius of gyration#2294

Closed
NinadBhat wants to merge 59 commits intoMDAnalysis:developfrom
NinadBhat:rog_unwrap
Closed

Add unwrap keyword to radius of gyration#2294
NinadBhat wants to merge 59 commits intoMDAnalysis:developfrom
NinadBhat:rog_unwrap

Conversation

@NinadBhat
Copy link
Contributor

Fixes #1760

Changes made in this Pull Request:

  • Adds unwrap keyword to radius of gyration

PR Checklist

  • Tests?
  • Docs?
  • CHANGELOG updated?
  • Issue raised/referenced?

@NinadBhat
Copy link
Contributor Author

Will rebase after #2290 and #2288

@codecov
Copy link

codecov bot commented Jul 9, 2019

Codecov Report

Merging #2294 into develop will increase coverage by 0.03%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           develop   #2294      +/-   ##
==========================================
+ Coverage    89.67%   89.7%   +0.03%     
==========================================
  Files          172     173       +1     
  Lines        21427   21506      +79     
  Branches      2794    2803       +9     
==========================================
+ Hits         19214   19293      +79     
  Misses        1616    1616              
  Partials       597     597
Impacted Files Coverage Δ
package/MDAnalysis/core/topologyattrs.py 97.82% <100%> (+0.02%) ⬆️
package/MDAnalysis/transformations/__init__.py 100% <0%> (ø) ⬆️
transformations/__init__.py 100% <0%> (ø) ⬆️
package/MDAnalysis/transformations/fit.py 100% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6185a57...f381d3d. Read the comment docs.

atomgroup = group.atoms
pbc = kwargs.pop('pbc', flags['use_pbc'])
masses = atomgroup.masses
unwrap = kwargs.pop('unwrap', False)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to update the docstring to include all keywords

@NinadBhat
Copy link
Contributor Author

Not sure why this PR is showing changes from #1991 even after rebase. Should I create a new PR?

@NinadBhat
Copy link
Contributor Author

Copy of this PR is at #2299

@NinadBhat NinadBhat closed this Jul 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Radius of Gyration needs wrap option

4 participants