Skip to content

Commit 729b5b9

Browse files
committed
STY: ruff [ignore-rev]
1 parent 82e9f8b commit 729b5b9

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

fmriprep/workflows/base.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -586,12 +586,8 @@ def init_single_subject_wf(subject_id: str):
586586
# (typically, more than two EPI PE directions), or
587587
# 2. Two modalities are involved, with at most two images to pass
588588
# into FSL TOPUP.
589-
if (
590-
len(set(suffices)) == 1
591-
or (
592-
len(suffices) == 2
593-
and all(suf in ('epi', 'bold', 'sbref') for suf in suffices)
594-
)
589+
if len(set(suffices)) == 1 or (
590+
len(suffices) == 2 and all(suf in ('epi', 'bold', 'sbref') for suf in suffices)
595591
):
596592
wf_inputs = getattr(fmap_wf.inputs, f'in_{estimator.bids_id}')
597593
wf_inputs.in_data = [str(s.path) for s in estimator.sources]

0 commit comments

Comments
 (0)