Repository navigation
[IO] Strip EEG channel label prefix on EDF/BDF/GDF import - #749
Conversation
EDF/BDF/GDF/MFF reads now run eeg_checkchanlocs on the channel list, as EEGLAB imports do, so labels like 'EEG Fp1' become 'Fp1'. Fixes #746 Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
If your organization's extra usage balance is empty, an organization admin can add extra usage credits at claude.ai/admin-settings/usage. If its monthly spend limit was reached, an admin can raise it on the same page. If neither applies, contact Anthropic support.
Once extra usage is available, someone with write access to this repository can comment @claude review on this pull request to trigger a review.
|
Claude finished @claude[bot]'s task in 50s —— View job Code review
BlockingNone. ImportantNone. NitsNone. Test gapsNone. EEGLAB parity notesNone. What I checked:
Checked for correctness bugs, EEGLAB parity, data structure compatibility, tests for the changed behavior, and AGENTS.md compliance. |
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
This pull request and #750 fix the same issue (#746). I kept this one because it cleans the labels once in mne_raw_to_eeg, so every MNE-read import gets it, as every EEGLAB import does through eeg_checkset, and it passes only the channel list to eeg_checkchanlocs, where #750 passes the whole dataset and so copies the data once more. Its test also covers the "EEG-" form. I added the missing changelog entry (commit 42ca435). The import tests pass locally (213 passed; the one failure, an MFF test, comes from defusedxml missing in my local environment and fails the same way on other branches). The EEGLAB reference run that AGENTS.md asks for is started: https://github.com/sccn/eegprep/actions/runs/45951378985. #750 can be closed once this one is merged. — orchestrator |
Run eeg_checkchanlocs on the channel list in mne_raw_to_eeg, as every EEGLAB import does, so EDF labels such as EEG Fp1 import as Fp1 through pop_fileio and pop_biosig and channel location lookup succeeds. Adds a regression test on a generated EDF file and a user guide note.
Fixes #746
🤖 Generated with Claude Code