Closed psadil closed 3 months ago
Do you have an unreleased version of nitransforms installed? That's most likely the problem here.
cc @oesteban @jmarabotto The blast radius from moving apply
from a method to a function might be large. We might want to restore a stub into BaseTransform
to give projects time to adapt:
def apply(self, *args, **kwargs):
warnings.warn(f"{self.__class__}.apply() is deprecated; use nitransforms.resampling.apply()", DeprecationWarning)
nt.resampling.apply(self, *args, **kwargs)
Do you have an unreleased version of nitransforms installed? That's most likely the problem here.
Oh shoot, thanks. Yes, that's the issue. Feel free to close
nitransforms is experimenstable :D
Can't break things for being stable and at the same time required to be cutting edge.
Thanks for the heads-up @psadil
On Tue, May 28, 2024, 22:33 Patrick Sadil @.***> wrote:
Do you have an unreleased version of nitransforms installed? That's most likely the problem here.
Oh shoot, thanks. Yes, that's the issue. Feel free to close
— Reply to this email directly, view it on GitHub https://github.com/nipreps/sdcflows/issues/442#issuecomment-2136057994, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAESDRSSX3FA4SAWQAGNJ7LZETSYXAVCNFSM6AAAAABINPGHDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZWGA2TOOJZGQ . You are receiving this because you were mentioned.Message ID: @.***>
What happened?
A
NodeExecutionError
was triggered when I tried to runsdcflows.workflows.fit.pepolar.init_topup_wf
with a pair of niftis that had slightly different affine matrices. The error came from theregrid
node.What command did you use?
What version of the software are you running?
2.8.1
How are you running this software?
Local installation ("bare-metal")
Is your data BIDS valid?
Yes
Are you reusing any previously computed results?
No
Please copy and paste any relevant log output.
Additional information / screenshots
Should line 143 be
resampler.map
instead?https://github.com/nipreps/sdcflows/blob/245648997022fabcfa218a3eb4716d7f304ba645/sdcflows/interfaces/utils.py#L124-L143