Skip to content

Commit 0fe159f

Browse files
committed
enh: skip list check
1 parent d3f0925 commit 0fe159f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fmriprep/workflows/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,9 +491,9 @@ def init_single_subject_wf(
491491
else:
492492
subject_data = collect_data(layout, subject_id, task_id, echo_idx,
493493
bids_filters=bids_filters)[0]
494-
if 'flair' in ignore and subject_data['flair']:
494+
if 'flair' in ignore:
495495
subject_data['flair'] = []
496-
if 't2w' in ignore and subject_data['t2w']:
496+
if 't2w' in ignore:
497497
subject_data['t2w'] = []
498498

499499
# Make sure we always go through these two checks

0 commit comments

Comments
 (0)