nipy / nitransforms

a standalone fork of nipy/nibabel#656
https://nitransforms.readthedocs.io
MIT License
28 stars 17 forks source link

ENH: Read ITK's composite transforms with only affines #174

Closed oesteban closed 1 year ago

oesteban commented 1 year ago

Enables reading the "collapsed" output of ANTs (when no nonlinear components are inside)

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 97.50% and no project coverage change.

Comparison is base (61a4685) 96.92% compared to head (321c0ee) 96.92%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #174 +/- ## ======================================= Coverage 96.92% 96.92% ======================================= Files 13 13 Lines 1234 1268 +34 Branches 189 182 -7 ======================================= + Hits 1196 1229 +33 Misses 33 33 - Partials 5 6 +1 ``` | Flag | Coverage Δ | | |---|---|---| | travis | `96.92% <97.50%> (+<0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nipy#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://app.codecov.io/gh/nipy/nitransforms/pull/174?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nipy) | Coverage Δ | | |---|---|---| | [nitransforms/base.py](https://app.codecov.io/gh/nipy/nitransforms/pull/174?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nipy#diff-bml0cmFuc2Zvcm1zL2Jhc2UucHk=) | `99.36% <88.88%> (-0.64%)` | :arrow_down: | | [nitransforms/io/itk.py](https://app.codecov.io/gh/nipy/nitransforms/pull/174?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nipy#diff-bml0cmFuc2Zvcm1zL2lvL2l0ay5weQ==) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

effigies commented 1 year ago

I assume we could include a pretty small example file to thoroughly exercise this?

oesteban commented 1 year ago

I assume we could include a pretty small example file to thoroughly exercise this?

Yeah, we should :P -- I'll add one ASAP.

oesteban commented 1 year ago

Added tests - merging in :)