Skip to content

Commit e09c7b5

Browse files
authored
Update fmriprep/workflows/base.py
1 parent b574f62 commit e09c7b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fmriprep/workflows/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ def init_single_subject_wf(subject_id: str):
435435
# replicate the logic that got us to the pared down set of estimators
436436
# here.
437437
final_ids = {fmap.bids_id for fmap in fmap_estimators}
438-
unused_ids = [bids_id for bids_id in fm._estimators if bids_id not in final_ids]
438+
unused_ids = fm._estimators.keys() - final_ids
439439
for bids_id in unused_ids:
440440
del fm._estimators[bids_id]
441441

0 commit comments

Comments
 (0)