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] Fix typo and docstring formatting in glm.first_level.first_level_from_bids
#4352
Conversation
👋 @michellewang 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 ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4352 +/- ##
==========================================
+ Coverage 91.85% 92.07% +0.21%
==========================================
Files 144 143 -1
Lines 16419 16496 +77
Branches 3434 3463 +29
==========================================
+ Hits 15082 15189 +107
+ Misses 792 764 -28
+ Partials 545 543 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Oops. I had already opened a PR. Let me compare them, push anything extra I may have done on mine on your PR and then close mine. |
That's a good idea because kwargs tend invite some funky problems when left unnchecked but this is also beyond the scope of this PR. |
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.
Minor comments but the rest LGTM
Sorry @Remi-Gau I didn't see that you already had a PR for this! 😅 |
well I should have mentioned I was taking the issue but in the end you did a more extensive job than I did so I cannot complain. |
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.
Great! Thanks @michellewang !
nilearn.glm.first_level.first_level_from_bids
#4342Changes proposed in this pull request:
confound_
prefix should beconfounds_
for the kwargsconfounds_
kwargs to be under the entry forkwargs
None
etc. and turned the references to e.g.FirstLevelModel
into links@Remi-Gau does this function currently only process kwargs that have the
confounds_
prefix? Should we raise a warning or throw an error if there are other kwargs provided by the user?