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
[FIX] change creation of region_names and add test #4360
base: main
Are you sure you want to change the base?
Conversation
👋 @mtorabi59 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. |
I am not sure if I should keep definition of |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4360 +/- ##
==========================================
+ Coverage 91.85% 92.03% +0.17%
==========================================
Files 144 143 -1
Lines 16419 16639 +220
Branches 3434 3533 +99
==========================================
+ Hits 15082 15313 +231
+ Misses 792 758 -34
- Partials 545 568 +23
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ 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.
LGTM otherwise.
This seems top break the report builder script in the doc build:
Can you try to run |
Co-authored-by: bthirion <bertrand.thirion@inria.fr>
Do I need to do anything regarding this PR? I think all the issues are addressed. |
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.
LGTM.
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.
Since this is a new public attribute, do you think you could update the doc string to explain what it is?
I'm not sure if we want |
@Remi-Gau but I think it's a good idea to add some comments to explain to the developers what this attribute is |
OK in this case rename it to |
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.
Still LGTM. Probably deserves a whatsnew entry.
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.
Changes proposed in this pull request:
region_names_
attribute ofNiftiLabelsMasker
is defined