Skip to content

Commit

Permalink
pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
agramfort committed Oct 9, 2022
1 parent ff0aad8 commit eea4768
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mne_bids/read.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,8 @@ def _handle_events_reading(events_fname, raw):
description=descriptions)
raw.set_annotations(annot_from_events)

annot_idx_to_keep = [idx for idx, descr in enumerate(annot_from_raw.description)
annot_idx_to_keep = [idx for idx, descr
in enumerate(annot_from_raw.description)
if descr in ANNOTATIONS_TO_KEEP]
annot_to_keep = annot_from_raw[annot_idx_to_keep]

Expand Down

0 comments on commit eea4768

Please sign in to comment.