Skip to content

Conversation

@larsoner
Copy link
Member

@larsoner larsoner commented Sep 2, 2020

Closes #6905

@AKMeunier @rderollepot can you see if this works for you?

Regarding being able to ignore the existing warning, you can now do verbose='error' if you really want to also ignore the event 2 missing from event_id will be ignored warnings.

@larsoner larsoner added this to the 0.21 milestone Sep 2, 2020
@larsoner
Copy link
Member Author

larsoner commented Sep 2, 2020

Failure is just 3.8 pre, I'll have to look into that separately...

@larsoner larsoner merged commit fbbf85b into mne-tools:master Sep 2, 2020
@larsoner larsoner deleted the events branch September 2, 2020 23:23
@rderollepot
Copy link
Contributor

Just tried it and yes, it works well for me !

Sorry, I offered to work on it but I never finished what I started...

larsoner added a commit to libertyh/mne-python that referenced this pull request Sep 9, 2020
* upstream/master: (489 commits)
  MRG, DOC: Fix ICA docstring, add whitening (mne-tools#8227)
  MRG: Extract measurement date and age for NIRX files (mne-tools#7891)
  Nihon Kohden EEG file reader WIP (mne-tools#6017)
  BUG: Fix scaling for src_mri_t in coreg (mne-tools#8223)
  MRG: Set pyvista as default 3d backend (mne-tools#8220)
  MRG: Recreate our helmet graphic (mne-tools#8116)
  [MRG] Adding get_montage for montage to BaseRaw objects (mne-tools#7667)
  ENH: Allow setting tqdm backend (mne-tools#8177)
  [MRG, IO] Persyst reader into Raw object (mne-tools#8176)
  MRG, BUG: Fix errors in IO/loading/projectors (mne-tools#8210)
  MAINT: vectorize _read_annotations_edf (mne-tools#8214)
  FIX : events_from_annotation when annotations.orig_time is None and f… (mne-tools#8209)
  FIX: do not project to sphere; DOC - explain how to get EEGLAB-like topoplots (mne-tools#7455)
  [MRG, DOC] Added linear algebra of transform to doc (mne-tools#7087)
  FIX: Travis failure on python3.8.1 (mne-tools#8207)
  BF: String formatting in exception message (mne-tools#8206)
  BUG: Fix STC limit bug (mne-tools#8202)
  MRG, DOC: fix ica tutorial (mne-tools#8175)
  CSP component order selection (mne-tools#8151)
  MRG, ENH: Add on_missing to plot_events (mne-tools#8198)
  ...
marsipu pushed a commit to marsipu/mne-python that referenced this pull request Oct 14, 2020
* ENH: Add on_missing to plot_events

* DOC: Fix doc

* FIX: Check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

plot_events throws ValueError if event_id contains additional entries

3 participants