From 437dbea2446b95d3f02a8d810a332868914cd0c5 Mon Sep 17 00:00:00 2001 From: mathiasg Date: Thu, 7 Mar 2024 15:49:02 -0500 Subject: [PATCH] FIX: Ensure proper templates are retrieved with sloppy --- fmriprep/workflows/base.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fmriprep/workflows/base.py b/fmriprep/workflows/base.py index 6883bbf14..d8eecdccf 100644 --- a/fmriprep/workflows/base.py +++ b/fmriprep/workflows/base.py @@ -373,7 +373,9 @@ def init_single_subject_wf(subject_id: str): select_MNI2009c_xfm = None if config.workflow.level == 'full': if spaces.cached.get_spaces(nonstandard=False, dim=(3,)): - template_iterator_wf = init_template_iterator_wf(spaces=spaces) + template_iterator_wf = init_template_iterator_wf( + spaces=spaces, sloppy=config.execution.sloppy + ) ds_std_volumes_wf = init_ds_anat_volumes_wf( bids_root=bids_root, output_dir=fmriprep_dir,