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

RF: Replace Convert3d with nitransforms in MCFLIRT2ITK #835

Merged
merged 4 commits into from
Nov 17, 2023

Conversation

effigies
Copy link
Member

c3d_affine_tool is a pretty heavy dependency when we have nitransforms. This PR removes it, while adding a regression test to make sure that values stay unchanged.

I added a couple transform matrices and the header of an actual boldref to ensure that the test doesn't depend on trivial invariants, but it's not an exhaustive test.

Copy link

codecov bot commented Nov 17, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (6955e22) 63.09% compared to head (d727ef7) 63.36%.

Files Patch % Lines
niworkflows/interfaces/itk.py 84.61% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #835      +/-   ##
==========================================
+ Coverage   63.09%   63.36%   +0.26%     
==========================================
  Files          53       53              
  Lines        6249     6237      -12     
  Branches      913      907       -6     
==========================================
+ Hits         3943     3952       +9     
+ Misses       2119     2099      -20     
+ Partials      187      186       -1     
Flag Coverage Δ
reportlettests ∅ <ø> (?)
unittests ∅ <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@oesteban oesteban left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@effigies effigies merged commit bfee73b into nipreps:master Nov 17, 2023
26 checks passed
@effigies effigies deleted the enh/nitransforms-mat2itk branch November 19, 2023 20:51
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