Repository navigation
ENH: add Shift_JIS mu in _read_edf_header - #10356
Merged
Merged
Conversation
larsoner
reviewed
Feb 17, 2022
larsoner
left a comment
Member
There was a problem hiding this comment.
LGTM +1 for merge
But before we do, can you add your change to doc/changes/latest.inc in the BUG section? If it's your first PR, please use the :newcontrib:, put the change at the top of the BUG section, and add your name to doc/changes/latest.inc? We want to give you proper credit for the fix in our release notes!
larsoner
approved these changes
Feb 17, 2022
Contributor
Author
|
@larsoner |
larsoner
reviewed
Feb 17, 2022
|
🎉 Congrats on merging your first pull request! 🥳 Looking forward to seeing more from you in the future! 💪 |
Member
|
Thanks @rcmdnk ! |
larsoner
added a commit
to larsoner/mne-python
that referenced
this pull request
Feb 17, 2022
* upstream/main: MAINT: Update NIRx tests (mne-tools#10357) ENH: add Shift_JIS mu in _read_edf_header (mne-tools#10356) API: Return Path in data_path (mne-tools#10348)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this implement/fix?
In some EDF files created in Japan, Shift_JIS mu (
\x83\xCA) is used in the header for the unit.This change allows to read the unit correctly and assign the correct scale.