-
Notifications
You must be signed in to change notification settings - Fork 532
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
enh: add interface for LabelGeometryMeasures #2586
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2586 +/- ##
==========================================
+ Coverage 67.57% 67.58% +<.01%
==========================================
Files 335 335
Lines 42601 42612 +11
Branches 5269 5269
==========================================
+ Hits 28788 28799 +11
+ Misses 13140 13132 -8
- Partials 673 681 +8
Continue to review full report at Codecov.
|
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.
This looks good. Just a quick clarifying question.
desc='label image to use for extracting geometry measures') | ||
intensity_image = File( | ||
value='[]', | ||
exists=True, |
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.
exists=True
seems weird, given a default value of '[]'
. I guess it applies only to non-default values?
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.
exists
only applies to non-default values (could be considered a bug). i'm taking advantage of that here, without writing a _format_arg
function, but something to keep in mind.
Changes proposed in this pull request