Skip to content

DOC: make sure you get a warning when reading onsets which are not timestamps#6184

Merged
cbrnr merged 2 commits intomne-tools:masterfrom
agramfort:csv_onset_float
Apr 23, 2019
Merged

DOC: make sure you get a warning when reading onsets which are not timestamps#6184
cbrnr merged 2 commits intomne-tools:masterfrom
agramfort:csv_onset_float

Conversation

@agramfort
Copy link
Copy Markdown
Member

closes #6107

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 22, 2019

Codecov Report

Merging #6184 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #6184      +/-   ##
==========================================
- Coverage   89.01%   89.01%   -0.01%     
==========================================
  Files         410      410              
  Lines       73883    73894      +11     
  Branches    12255    12257       +2     
==========================================
+ Hits        65765    65774       +9     
- Misses       5223     5224       +1     
- Partials     2895     2896       +1

@cbrnr
Copy link
Copy Markdown
Contributor

cbrnr commented Apr 22, 2019

LGTM!

_assert_annotations_equal(annot, annot2)

# Test broken .csv that does not use timestamps
with pytest.warns(RuntimeWarning, match=''):
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not have a real match?

@cbrnr cbrnr merged commit a3adefb into mne-tools:master Apr 23, 2019
@cbrnr
Copy link
Copy Markdown
Contributor

cbrnr commented Apr 23, 2019

Thanks @agramfort!

massich pushed a commit to massich/mne-python that referenced this pull request Apr 23, 2019
…mestamps (mne-tools#6184)

* DOC: make sure you get a warning when reading onsets which are not timestamps in .csv

* non-empty match
jeythekey pushed a commit to jeythekey/mne-python that referenced this pull request Apr 27, 2019
…mestamps (mne-tools#6184)

* DOC: make sure you get a warning when reading onsets which are not timestamps in .csv

* non-empty match
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.

BUG: "mne.read_annotations"

3 participants