We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e4f921 commit fd66f7cCopy full SHA for fd66f7c
fmriprep/workflows/base.py
@@ -580,7 +580,10 @@ def init_single_subject_wf(subject_id: str):
580
suffices = [s.suffix for s in estimator.sources]
581
582
if estimator.method == fm.EstimatorType.PEPOLAR:
583
- if len(suffices) == 2 and all(suf in ('epi', 'bold', 'sbref') for suf in suffices):
+ if (
584
+ len(set(suffices)) == 1
585
+ or (len(suffices) == 2 and all(suf in ('epi', 'bold', 'sbref') for suf in suffices))
586
+ ):
587
wf_inputs = getattr(fmap_wf.inputs, f'in_{estimator.bids_id}')
588
wf_inputs.in_data = [str(s.path) for s in estimator.sources]
589
wf_inputs.metadata = [s.metadata for s in estimator.sources]
0 commit comments