Skip to content
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

Merged
merged 2 commits into from
May 19, 2018
Merged

Conversation

satra
Copy link
Member

@satra satra commented May 19, 2018

Changes proposed in this pull request

  • new ants interface for LabelGeometryMeasures

@codecov-io
Copy link

codecov-io commented May 19, 2018

Codecov Report

Merging #2586 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            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
Flag Coverage Δ
#smoketests 50.74% <100%> (+0.02%) ⬆️
#unittests 65.04% <100%> (ø) ⬆️
Impacted Files Coverage Δ
nipype/interfaces/ants/__init__.py 100% <ø> (ø) ⬆️
nipype/interfaces/ants/utils.py 88.39% <100%> (+1.26%) ⬆️
nipype/interfaces/io.py 54.47% <0%> (ø) ⬆️
nipype/interfaces/freesurfer/preprocess.py 66.27% <0%> (ø) ⬆️
nipype/interfaces/dynamic_slicer.py 17.47% <0%> (ø) ⬆️
nipype/interfaces/nipy/preprocess.py 45.79% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update caf87f5...900d9f2. Read the comment docs.

Copy link
Member

@effigies effigies left a 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,
Copy link
Member

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?

Copy link
Member Author

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.

@satra
Copy link
Member Author

satra commented May 19, 2018

@effigies effigies added this to the 1.0.4 milestone May 19, 2018
@effigies effigies merged commit 0498267 into nipy:master May 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants