Skip to content

Commit 19ff29a

Browse files
committed
improve comment
1 parent aac48a0 commit 19ff29a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mne_bids/read.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,8 @@ def _handle_events_reading(events_fname, raw):
531531
logger.info(f"Reading events from {events_fname}.")
532532
events_dict = _from_tsv(events_fname)
533533

534-
# drop events where onset is n/a
534+
# drop events where onset is n/a; we can't annotate them and thus don't need entries
535+
# for them in event_id either
535536
events_dict = _drop(events_dict, "n/a", "onset")
536537

537538
# Get event descriptions. Use `trial_type` column if available.

0 commit comments

Comments
 (0)