-
Notifications
You must be signed in to change notification settings - Fork 301
Use lta_convert for simplicity #2121
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
Milestone
Comments
I thought that was referring to the BOLD-T1w transforms. |
True, I'll roll the transfer back :( sorry about that. |
oesteban
added a commit
to oesteban/fmriprep
that referenced
this issue
May 27, 2020
This is a temporary patch before we go all the way in with NiTransforms in the sampling of BOLD on surfaces. The anatomical _fast-track_ required to expose the fsnative-to-T1w transform in the derivatives folder (which we were already doing in ITK format). When fMRIPrep ran without the fast-track, then the LTA transform would be directly passed in without conversions. The fast-track PR forced the implementation to use the ITK version. This, in conjunction with the little trick to stick the BOLD shape and zooms into the LTA (i.e., using ``lta_concatenate`` with an identity transform with those features, shape and zooms, as moving) resulted in an overly complex workflow that I partially implemented with NiTransforms. This PR gets rid of the concatenation with identity trick, using NiTransforms to generate a transform equivalent to the concatenated LTA we used to generate before the fast-track was introduced. Resolves: nipreps#2145 Assign: @mgxd Milestone: 20.1.0 Related: nipreps#2118, nipreps#2041, nipreps#2121.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Comes from #745 (comment)
EDIT:
This issue is a reminder that this code:
https://github.com/oesteban/fmriprep/blob/eb3c838f1bed031c9f02d54b3db3bdcae2dad8dd/fmriprep/workflows/bold/registration.py#L455-L463
might be hacky and hard to maintain. A solution using FS' lta_convert or nitransforms would be more sustainable
The text was updated successfully, but these errors were encountered: