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
[DOC] Add docstrings for some bigger private functions in load_confounds.
#3863
[DOC] Add docstrings for some bigger private functions in load_confounds.
#3863
Conversation
With the help of copilot.
👋 @htwangtw Thanks for creating a PR! Until this PR is ready for review, you can include the [WIP] tag in its title, or leave it as a github draft. Please make sure it is compliant with our contributing guidelines. In particular, be sure it checks the boxes listed below.
For new features:
For bug fixes:
We will review it as quick as possible, feel free to ping us with questions if needed. |
Codecov Report
@@ Coverage Diff @@
## main #3863 +/- ##
==========================================
+ Coverage 91.59% 91.60% +0.01%
==========================================
Files 134 134
Lines 15694 15751 +57
Branches 3270 3281 +11
==========================================
+ Hits 14375 14429 +54
- Misses 770 772 +2
- Partials 549 550 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 11 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
Thx !
Maybe we could take this opportunity to improve docstrings quality...
Co-authored-by: bthirion <bertrand.thirion@inria.fr>
…tw/nilearn into load_confounds_private_docstrings
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.
Thx. A few changes have been missed. Best,
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.
@htwangtw thanks for adding the docstrings to these private functions! Most of my comments actually have to do with modified docstrings of public functions but I think it's fine to change them in this PR. If you think it's a bigger job (I didn't check parameters that aren't modified) and wish to leave it for another PR that's fine too
Co-authored-by: Yasmin <63292494+ymzayek@users.noreply.github.com>
Co-authored-by: bthirion <bertrand.thirion@inria.fr>
- remove outdated one-hot encoder related description - remove options from parameter descriptions, replaced with default option - remove redundant default option descriptions in the docstring
co-authored by GitHub Co-pilot.
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.
Thx @htwangtw , just a few minor things
Co-authored-by: Yasmin <63292494+ymzayek@users.noreply.github.com>
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.
Thx!
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.
Good with me
thanks @htwangtw
Closes #3826.