-
Notifications
You must be signed in to change notification settings - Fork 696
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
Update polymer.py to add clarity to the docs for persistent length #4901
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #4901 +/- ##
===========================================
- Coverage 93.65% 93.63% -0.03%
===========================================
Files 177 189 +12
Lines 21795 22861 +1066
Branches 3067 3067
===========================================
+ Hits 20413 21406 +993
- Misses 931 1004 +73
Partials 451 451 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please merge develop
into your branch, to make the linter
check happy again (hopefully)?
Co-authored-by: Rocco Meli <[email protected]>
I tried merging develop but it was showing darker -r upstream/develop package/MDAnalysis -L flake8
darker -r upstream/develop testsuite/MDAnalysisTests -L flake8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing the docs. Please see comment inline.
along the bonds. (Because for two vectors :math:`\mathbf{a}` and :math:`\mathbf{b}`, | ||
:math:`\mathbf{a} \cdot \mathbf{b} = |\mathbf{a}| |\mathbf{b}| \cos{\alpha}`, | ||
where :math:`\alpha` is the angle between the two vectors.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need the wikipedia link in the docs – I know that I had that in our discussion on discord but it's really elementary. Just remove the sentence with (Because ... .)
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need the wikipedia link in the docs – I know that I had that in our discussion on discord but it's really elementary. Just remove the sentence with
(Because ... .)
.
yeah it felt basic but I though I would add it for the sake of completeness, but yeah its probably not needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thank you!
@RMeli I enabled auto-merge.
…DAnalysis#4901) * Fixes MDAnalysis#4900 * Update doc string in polymer.py: make clear that we are using unit vectors along bonds --------- Co-authored-by: Rocco Meli <[email protected]>
Fixes #4900
Changes made in this Pull Request:
Adds
PR Checklist
Developers certificate of origin
📚 Documentation preview 📚: https://mdanalysis--4901.org.readthedocs.build/en/4901/