Skip to content

Fix eeglab.py, an error for read annotations in RawEEGLab - #11773

Merged
drammock merged 5 commits into
mne-tools:mainfrom
frostime:main
Jul 5, 2023
Merged

drammock merged 5 commits into
mne-tools:mainfrom
frostime:main

Conversation

@frostime

@frostime frostime commented Jul 4, 2023

Copy link
Copy Markdown
Contributor

In io.eeglab.RawEEGLab, read annotations should also pass argument uint16_codec.

Reference issue

This problem has been reported in the group, click link for details:

https://mne.discourse.group/t/bug-report-an-error-in-io-eeglab-and-solution-to-it/7173

What does this implement/fix?

Merely by passing the correct codec argument to function call.

Additional information

No

Read annotations should also pass argument `uint16_codec`
@welcome

welcome Bot commented Jul 4, 2023

Copy link
Copy Markdown

Hello! 👋 Thanks for opening your first pull request here! ❤️ We will try to get back to you soon. 🚴

@frostime frostime changed the title Fix eeglab.py Fix eeglab.py, an error for read annotations in RawEEGLab Jul 4, 2023
@agramfort

Copy link
Copy Markdown
Member

@frostime can you merge the upstream main branch here so the CI can be green and we could merge?

thanks a lot for taking the time @frostime

@frostime

frostime commented Jul 5, 2023

Copy link
Copy Markdown
Contributor Author

@frostime can you merge the upstream main branch here so the CI can be green and we could merge?

thanks a lot for taking the time @frostime

Hello, I'm a bit confused cause I've sync to the main branch before launching this pr, what do you mean by saying "merge the upstream main branch here"?

image

@agramfort

Copy link
Copy Markdown
Member

@frostime can you push here a tiny commit to restart the CI then?

@frostime

frostime commented Jul 5, 2023

Copy link
Copy Markdown
Contributor Author

Oh no, I add new commits to re launch the ci, but it seems that there still some error.
image

Mr. @agramfort , if this pr bother you too much, I think you can merely close this pr, and make changes at your branch.

The only changes in this pr is merely add uint16_codec parameter to read_annotations

image

@drammock
drammock enabled auto-merge (squash) July 5, 2023 14:00
@larsoner

larsoner commented Jul 5, 2023

Copy link
Copy Markdown
Member

@frostime can you update doc/changes/latest.inc using :newcontrib: and add a URL to doc/changes/names.inc? Or alternatively let us know what name/URL you prefer to use to get credit for your change and we can push a quick commit to do it then merge, thanks!

@drammock
drammock merged commit 06d396d into mne-tools:main Jul 5, 2023
@welcome

welcome Bot commented Jul 5, 2023

Copy link
Copy Markdown

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

@frostime

frostime commented Jul 5, 2023

Copy link
Copy Markdown
Contributor Author

@frostime can you update doc/changes/latest.inc using :newcontrib: and add a URL to doc/changes/names.inc? Or alternatively let us know what name/URL you prefer to use to get credit for your change and we can push a quick commit to do it then merge, thanks!

Hello, sorry that I'm not familiar with the mne dev pipeline and don't know what is :newcontrib:.
It would be nice of you if you could help me to fill the required information, shown as follow:

Appreciate your dedication, thanks! 👍

@drammock

drammock commented Jul 5, 2023

Copy link
Copy Markdown
Member

sorry @larsoner I enabled auto-merge without requesting changelog entry. @frostime I'll do the changelog in another PR.

larsoner added a commit to larsoner/mne-python that referenced this pull request Dec 6, 2024
* upstream/main: (26 commits)
  MAINT: Better fix for deprecation (mne-tools#11789)
  udpate doc for 11786 (mne-tools#11787)
  MAINT: Ignore warning in example (mne-tools#11781)
  Keeping event names when combining channel on epochs objects (mne-tools#11786)
  DOC: Fix incorrect docs for annotate_movement [ci skip] (mne-tools#11779)
  Refresh eegbci code and docstrings (mne-tools#11783)
  DOC: EEG eye-tracking alignment tutorial (mne-tools#11770)
  [MRG] By-pass set_annotations when plotting ICA sources  (mne-tools#11766)
  add missing changelog from 11773 (mne-tools#11777)
  Fix eeglab.py, an error for read annotations in `RawEEGLab` (mne-tools#11773)
  [MRG] Use FIFF.FIFF_UNITM_NONE instead of 0 when adding a reference channel (mne-tools#11774)
  MAINT: Update for linkcheck [circle linkcheck] (mne-tools#11771)
  ENH: Interpolate blinks in eyetrack channels (mne-tools#11740)
  MAINT: Work around joblib bug (mne-tools#11765)
  Update manual install docs (mne-tools#11764)
  add logging message about which EOG channel used for blink detection (mne-tools#11757)
  DOC: Fix docs (mne-tools#11756)
  BUG: Fix bug with SNR calculation (mne-tools#11755)
  BUG: Fix bug with cHPI off (mne-tools#11754)
  Change color from annotation to red if name changes to "bad_" or "edge_" (mne-tools#11753)
  ...
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.

4 participants