From c79464e9347eb8ff87047af6e4b7d74c14dd116b Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Tue, 7 Nov 2023 14:19:13 -0500 Subject: [PATCH] FIX: Moving and reference apply to the forward transform, not the final --- fmriprep/workflows/bold/resampling.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fmriprep/workflows/bold/resampling.py b/fmriprep/workflows/bold/resampling.py index 30069a323..c51098121 100644 --- a/fmriprep/workflows/bold/resampling.py +++ b/fmriprep/workflows/bold/resampling.py @@ -201,10 +201,10 @@ def select_target(subject_id, space): ]), (inputnode, targets, [("subject_id", "subject_id")]), (inputnode, itk2lta, [ - ("bold_t1w", "reference"), + ("bold_t1w", "moving"), ("fsnative2t1w_xfm", "in_xfms"), ]), - (get_fsnative, itk2lta, [("T1", "moving")]), + (get_fsnative, itk2lta, [("T1", "reference")]), (inputnode, sampler, [ ("subjects_dir", "subjects_dir"), ("subject_id", "subject_id"),