Skip to content

Commit 056a853

Browse files
authored
FIX: Pass fmap filters to sdcflows (#2932)
2 parents 09efab5 + c57826e commit 056a853

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

fmriprep/workflows/base.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,11 +364,15 @@ def init_single_subject_wf(subject_id):
364364

365365
# SDC Step 1: Run basic heuristics to identify available data for fieldmap estimation
366366
# For now, no fmapless
367+
filters = None
368+
if config.execution.bids_filters is not None:
369+
filters = config.execution.bids_filters.get("fmap")
367370
fmap_estimators = find_estimators(
368371
layout=config.execution.layout,
369372
subject=subject_id,
370373
fmapless=bool(config.workflow.use_syn_sdc),
371374
force_fmapless=config.workflow.force_syn,
375+
bids_filters=filters,
372376
)
373377

374378
if config.workflow.use_syn_sdc and not fmap_estimators:

0 commit comments

Comments
 (0)