We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aac48a0 commit 19ff29aCopy full SHA for 19ff29a
mne_bids/read.py
@@ -531,7 +531,8 @@ def _handle_events_reading(events_fname, raw):
531
logger.info(f"Reading events from {events_fname}.")
532
events_dict = _from_tsv(events_fname)
533
534
- # drop events where onset is n/a
+ # 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
536
events_dict = _drop(events_dict, "n/a", "onset")
537
538
# Get event descriptions. Use `trial_type` column if available.
0 commit comments