-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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 docstrings for sample_smc and smc.py #6114
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #6114 +/- ##
=======================================
Coverage 94.17% 94.17%
=======================================
Files 111 111
Lines 23908 23908
=======================================
Hits 22515 22515
Misses 1393 1393
|
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 the PR, I hope the comments and answers help
This is a pretty meaty docstring. Thanks for the contribution @rowangayleschaefer and hopefully the build error gets fixed soon! |
I merged the PR that fix this less than a minute ago! |
Thank you! Should I make another PR to amend the notes that you made? |
Hi @rowangayleschaefer @cluhmann @OriolAbril |
Done! |
@rowangayleschaefer you should rebase your branch to make sure it contains all the changes from You can do that with the following commands:
The answer to this is nearly always no. A pull request is a request to a project to merge the changes from a branch into another one (the two branches need to be of the same repo but don't need to be on the same fork). Therefore, in order to update a PR you should commit to that branch, then push. You can see that now, the PR includes 7 commits instead of the original 3 because my suggestions have been added as commits to this branch. After the |
@rowangayleschaefer Let us know if you have any questions on this PR. |
2fbcc3d
to
8fce7de
Compare
Thank you @OriolAbril @reshamas Didn't see this before. I just tried rebase + push with instructions. |
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 the rebase, it was great having the preview to check how things look.
Maybe the deflist inside the quotes looks better for the kwarg descriptions? Preview of both options: https://pymcio--6114.org.readthedocs.build/projects/docs/en/6114/api/generated/pymc.smc.sample_smc.html cc @rowangayleschaefer @ricardoV94 @aloctavodia |
@rowangayleschaefer this looks great. Just a warning that I might try to merge #6171 first, in which case this PR will probably have to be updated |
Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com>
Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com>
Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com>
Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com>
Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com>
Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com>
Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com>
fc63e84
to
9b72724
Compare
After rebasing I'll now merge, so all these nice docs fixes get rolled out with the upcoming Thanks @rowangayleschaefer and reviewers! |
Thank you Rowan |
* fixed docstrings and a reference * trailing whitespace * fixed typo * Update pymc/smc/sample_smc.py Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com> * Update pymc/smc/sample_smc.py Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com> * Update pymc/smc/sample_smc.py Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com> * Update pymc/smc/sample_smc.py Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com> * Update pymc/smc/sample_smc.py Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com> * Update pymc/smc/sample_smc.py Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com> * Update pymc/smc/smc.py Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com> * Made changes to smc.py and sample_smc.py for pr#6114 * Fix pre-commit Co-authored-by: Rowan Schaefer <rowanschaefer@Rowans-MacBook-Air.local> Co-authored-by: Oriol Abril-Pla <oriol.abril.pla@gmail.com> Co-authored-by: Michael Osthege <michael.osthege@outlook.com>
What is this PR about?
#DataUmbrellaPyMCSprint
References #5459
with
context)” but I saw this was still present on several other pages that had already been editedi.e. in NumPy docs
seed{None, int, array_like[ints], SeedSequence, BitGenerator, Generator}, optional
Checklist
Major / Breaking Changes
Bugfixes / New features
Docs / Maintenance