Skip to content

Commit ee618e3

Browse files
authored
FIX: Ensure proper templates are retrieved with sloppy (#3251)
Ensures the proper resolution templates are fetched following nipreps/smriprep#418
2 parents 05a0db8 + 437dbea commit ee618e3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

fmriprep/workflows/base.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,9 @@ def init_single_subject_wf(subject_id: str):
373373
select_MNI2009c_xfm = None
374374
if config.workflow.level == 'full':
375375
if spaces.cached.get_spaces(nonstandard=False, dim=(3,)):
376-
template_iterator_wf = init_template_iterator_wf(spaces=spaces)
376+
template_iterator_wf = init_template_iterator_wf(
377+
spaces=spaces, sloppy=config.execution.sloppy
378+
)
377379
ds_std_volumes_wf = init_ds_anat_volumes_wf(
378380
bids_root=bids_root,
379381
output_dir=fmriprep_dir,

0 commit comments

Comments
 (0)