Skip to content

ENH: add Shift_JIS mu in _read_edf_header - #10356

Merged
larsoner merged 3 commits into
mne-tools:mainfrom
rcmdnk:another-uV
Feb 17, 2022
Merged

larsoner merged 3 commits into
mne-tools:mainfrom
rcmdnk:another-uV

Conversation

@rcmdnk

@rcmdnk rcmdnk commented Feb 17, 2022

Copy link
Copy Markdown
Contributor

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.

@larsoner larsoner left a comment

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.

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 larsoner added this to the 1.0 milestone Feb 17, 2022
@rcmdnk

rcmdnk commented Feb 17, 2022

Copy link
Copy Markdown
Contributor Author

@larsoner
Thanks for the quick review!

Comment thread doc/changes/latest.inc Resolved
@larsoner
larsoner merged commit ffb4ef3 into mne-tools:main Feb 17, 2022
@welcome

welcome Bot commented Feb 17, 2022

Copy link
Copy Markdown

🎉 Congrats on merging your first pull request! 🥳 Looking forward to seeing more from you in the future! 💪

@larsoner

Copy link
Copy Markdown
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)
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.

2 participants