From 1a2d7e2ea25a2fe8990371a2ddf1f68442a06eb2 Mon Sep 17 00:00:00 2001 From: Taylor Salo Date: Thu, 29 Feb 2024 13:06:38 -0500 Subject: [PATCH] Add Chris's comment from the fMRIPrep PR. --- aslprep/workflows/asl/outputs.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aslprep/workflows/asl/outputs.py b/aslprep/workflows/asl/outputs.py index bbe3cdfb6..0be25749d 100644 --- a/aslprep/workflows/asl/outputs.py +++ b/aslprep/workflows/asl/outputs.py @@ -654,6 +654,8 @@ def init_ds_volumes_wf( ) workflow.connect([ (inputnode, raw_sources, [("source_files", "in_files")]), + # Note that ANTs expects transforms in target-to-source order + # Reverse this for nitransforms-based resamplers (inputnode, aslref2target, [ ("anat2std_xfm", "in1"), ("aslref2anat_xfm", "in2"),