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

Flip order of transforms in init_ds_volumes_wf #3238

Merged
merged 2 commits into from
Feb 29, 2024

Conversation

tsalo
Copy link
Collaborator

@tsalo tsalo commented Feb 29, 2024

Closes #3237.

Changes proposed in this pull request

  • Switch order of transforms in boldref2target node of init_ds_volumes_wf from boldref2anat_xfm --> anat2std_xfm to anat2std_xfm --> boldref2anat_xfm, as antsApplyTransforms expects transforms to be provided in reverse order.

Documentation that should be reviewed

none

@tsalo
Copy link
Collaborator Author

tsalo commented Feb 29, 2024

It looks like there's an unrelated style issue.

@effigies effigies changed the base branch from master to maint/23.2.x February 29, 2024 17:58
@effigies
Copy link
Member

Could you rebase onto maint/23.2.x?

@tsalo
Copy link
Collaborator Author

tsalo commented Feb 29, 2024

@effigies thank you for fixing the terrible thing I did

Co-authored-by: Chris Markiewicz <effigies@gmail.com>
Copy link

codecov bot commented Feb 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.36%. Comparing base (8b3a957) to head (39a347d).
Report is 1 commits behind head on maint/23.2.x.

Additional details and impacted files
@@               Coverage Diff                @@
##           maint/23.2.x    #3238      +/-   ##
================================================
- Coverage         72.41%   72.36%   -0.05%     
================================================
  Files                55       55              
  Lines              4103     4103              
================================================
- Hits               2971     2969       -2     
- Misses             1132     1134       +2     

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

@effigies effigies added this to the 23.2.1 milestone Feb 29, 2024
@effigies effigies merged commit 9db6ba0 into nipreps:maint/23.2.x Feb 29, 2024
12 of 14 checks passed
@tsalo tsalo deleted the fix-xform-application branch February 29, 2024 19:07
effigies added a commit that referenced this pull request Mar 6, 2024
23.2.1 (March 06, 2024)

Bug fix release in the 23.2.x series.

Masks, BOLD references and T2\* maps resampled into template spaces had
their order of transforms inverted. BOLD files were unaffected.

This release also preserves the TR in the NIfTI header of BOLD series.

* FIX: Preserve pixdim4+ of resampled images (#3239)
* FIX: Flip order of transforms in ``init_ds_volumes_wf`` (#3238)
* DOCKER: restore mincinfo binary (#3249)
* CI: Move to new CircleCI machine tags (#3247)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bold2target transforms applied in incorrect order to boldref, mask, t2star map
2 participants