Skip to content

Commit

Permalink
FIX: Ensure proper templates are retrieved with sloppy (#3251)
Browse files Browse the repository at this point in the history
Ensures the proper resolution templates are fetched following
nipreps/smriprep#418
  • Loading branch information
mgxd committed Mar 7, 2024
2 parents 05a0db8 + 437dbea commit ee618e3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fmriprep/workflows/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ee618e3

Please sign in to comment.