-
Notifications
You must be signed in to change notification settings - Fork 16
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: Read (and apply) ITK/ANTs' composite HDF5 transforms #79
Conversation
…nsforms Uses ``h5py`` to browse the transforms group, and concatenates them in a list ready for nitransforms' wrapping into a ``TransformsChain``. The writer is not included in this PR. The implementation takes into account the misspelling of "Tranforms" present in transforms generated with older versions of ITK. This implementation only accepts the composite transforms generated by ANTs. Resolves: nipy#4
Best reviewed: commit by commit
Optimal code review plan
|
Codecov Report
@@ Coverage Diff @@
## master #79 +/- ##
==========================================
+ Coverage 98.89% 98.95% +0.06%
==========================================
Files 11 12 +1
Lines 992 1050 +58
Branches 129 135 +6
==========================================
+ Hits 981 1039 +58
Misses 6 6
Partials 5 5
Continue to review full report at Codecov.
|
Hello @oesteban! Thanks for updating this PR. There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2020-03-26 04:34:25 UTC |
This was necessary to integrate one test equivalent to resampling with ``antsApplyTransforms``, but via nitransforms.
66a5b91
to
26f9e80
Compare
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, tiny comment
Co-Authored-By: Mathias Goncalves <[email protected]>
Uses
h5py
to browse the transforms group, and concatenates them in a listready for nitransforms' wrapping into a
TransformsChain
.The writer is not included in this PR.
The implementation takes into account the misspelling of "Tranforms" present
in transforms generated with older versions of ITK.
This implementation only accepts the composite transforms generated by ANTs.
Closes #4