Skip to content

ENH: Add "TruncateImageIntensity" operation to ants.utils.Image.Math #3210

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

Merged
merged 1 commit into from
Apr 28, 2020

Conversation

oesteban
Copy link
Contributor

"TruncateImageIntensity" is part of antsBrainExtraction.sh and therefore, having it supported by nipype is of great interest.

This PR addresses a problem @eilidhmacnicol just discovered. Having this merged will also allow us to call the upstreaming of ANTS interfaces from niworkflows done.

Summary

Fixes # .

List of changes proposed in this PR (pull-request)

Acknowledgment

  • (Mandatory) I acknowledge that this contribution will be available under the Apache 2 license.

…Math``

``"TruncateImageIntensity"`` is part of ``antsBrainExtraction.sh`` and therefore, having it supported by nipype is of great interest.

This PR addresses a problem @eilidhmacnicol just discovered. Having this merged will also allow us to call the upstreaming of ANTS interfaces from niworkflows done.
oesteban added a commit to oesteban/niworkflows that referenced this pull request Apr 27, 2020
After nipy/nipype#3210 the ``niworkflows/interfaces/ants.py`` can go in
whole.
@oesteban oesteban requested a review from mgxd April 27, 2020 16:48
@codecov
Copy link

codecov bot commented Apr 27, 2020

Codecov Report

Merging #3210 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3210   +/-   ##
=======================================
  Coverage   65.01%   65.01%           
=======================================
  Files         301      301           
  Lines       39834    39834           
  Branches     5269     5269           
=======================================
  Hits        25897    25897           
  Misses      12880    12880           
  Partials     1057     1057           
Flag Coverage Δ
#unittests 65.01% <ø> (ø)
Impacted Files Coverage Δ
nipype/interfaces/ants/utils.py 89.26% <ø> (ø)

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 9a7db4d...5e560d9. Read the comment docs.

@oesteban
Copy link
Contributor Author

Any voices against merging this super-low risk change?

@effigies
Copy link
Member

Nope, this is fine with me.

@effigies
Copy link
Member

But do we need to make specs?

@oesteban
Copy link
Contributor Author

make specs does not change any test (see

operation=dict(argstr="%s", mandatory=True, position=3,),
). Merging.

@oesteban oesteban merged commit d2a48e1 into master Apr 28, 2020
@oesteban oesteban deleted the oesteban-patch-1 branch April 28, 2020 16:55
@effigies effigies added this to the 1.5.0 milestone May 19, 2020
oesteban added a commit to oesteban/niworkflows that referenced this pull request Jun 4, 2020
After nipy/nipype#3210 the ``niworkflows/interfaces/ants.py`` can go in
whole.
oesteban added a commit to oesteban/niworkflows that referenced this pull request Jun 4, 2020
After nipy/nipype#3210 the ``niworkflows/interfaces/ants.py`` can go in
whole.
oesteban added a commit to oesteban/niworkflows that referenced this pull request Jun 5, 2020
After nipy/nipype#3210 the ``niworkflows/interfaces/ants.py`` can go in
whole.
oesteban added a commit to oesteban/niworkflows that referenced this pull request Jun 9, 2020
After nipy/nipype#3210 the ``niworkflows/interfaces/ants.py`` can go in
whole.
oesteban added a commit to oesteban/niworkflows that referenced this pull request Jun 12, 2020
After nipy/nipype#3210 the ``niworkflows/interfaces/ants.py`` can go in
whole.
oesteban added a commit to oesteban/niworkflows that referenced this pull request Jun 26, 2020
After nipy/nipype#3210 the ``niworkflows/interfaces/ants.py`` can go in
whole.
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.

2 participants