You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pop_mneio: new import function through MNE, an optional install like BioSig #813
Linux (jamming) captures of EEGLAB and EEGPrep from the November 28 run are added below, directly visible, by the EEGPrep worker. Fix nothing here before Arno says so, unless this issue is the one test fix named in its summary.
Arno's words
Arno's feedback of November 28, 2026 on the File and Edit comparison report (EEGLAB_vs_EEGPrep_File_and_Edit.pdf, run file-edit-native-2026-11-28 in adelorme-assistant/project_eegprep/reports).
Pop_mneio is a new function that uses MNE functions and optional installs like BIOSIG. It should install MNE as well as all MNE import libraries, and provide an interface to it.
pop_biosig already is the MNE reader: it calls pop_fileio, which calls mne.io.read_raw_edf/bdf/gdf. MNE is already an optional extra (eegprep[mne]), but it is installed only from the shell. A missing MNE gives a text message. There is no GUI "install it?" prompt and no Extension Manager entry. #812 now gives the pop_biosig name back to the biosig Python package, so #765 (rename pop_biosig to pop_mneio) and #813 are now one piece of work.
Optional install. Widen the mne extra to "MNE plus its import libraries". Candidates: mne, defusedxml, edfio, eeglabio, pymatreader, mffpy, h5py. Add an "MNE-IO" entry to the Extension Manager that runs pip install "eegprep[mne]".
Tests. Update the pop_biosig references in tests/test_stream9_readers.py, tests/test_stream9_gui_importers.py, tests/test_optional_extras.py and the BDF/EDF reference tests. Extend tests/test_console_workspace.py for the history name. Add one GUI test that the prompt shows up when mne cannot be imported.
Open questions
Does pop_mneio stay EDF/BDF/GDF only, or does it expose every format mne.io.read_raw supports?
Which exact "MNE import libraries" belong in the extra?
Should the Extension Manager run pip install from inside the GUI (into the running interpreter), or only show the command? Today it only shows guidance (plugin_menu.py#L846).
🤖 The MNE-IO menu now opens pop_mneio, which reads a file or recording folder through MNE. Both the import menu and the extension manager can install the optional readers into the running EEGPrep environment. The imported dataset and command appear in the GUI and console.
Maximum signal differences relative to MATLAB on common channels were 2.13 × 10⁻¹⁶ for SET, 3.38 × 10⁻⁸ for EDF and 3.73 × 10⁻⁸ for BDF. All 154 SET event types matched. The largest SET latency difference was 0.0000633 sample. MNE preserved BDF’s Status channel and supplied zero annotations. MATLAB BioSig decoded 41 events.
Verification
278 reader, extension, console and menu tests passed, with 7 reference cases deselected. A second run of the Qt dialogs and affected readers passed 189 tests, with 4 reference cases deselected. Pre-commit, Ruff and ty passed. A fresh Linux environment installed MNE 1.13.2 from the GUI and opened a 32-channel recording with 30,504 samples and 154 events. The reference pins are EEGLAB d0963be9d81acc5b66e84f8d3d7c89e3ce127cc4 and eeglab_tests fec88f9ffe7c225eb1de8924db8b6a3e0d53a4d9. Full MATLAB reference workflow. The reference workflow uses db5cff9. The only subsequent change at GitHub’s recorded merge commit 5b94122 is a comment explaining MNE event indexing. The installer follow-up also handles environments with MNE present and some format packages missing. Five of the seven reference groups passed. The STUDY group had 340 passed, 27 skipped, 3 deselected and one failure in 17 min 15 s. The assertion on empty structures is already tracked on develop by #685 and #691. The core group is still running. The standalone installation job independently reproduced the MNE Help-marker mismatch. #857 and #850 both include its tested correction.
Activity
claude commentedon Nov 28, 2026
🤖 Plan:
Research
pop_biosigalready is the MNE reader: it callspop_fileio, which callsmne.io.read_raw_edf/bdf/gdf. MNE is already an optional extra (eegprep[mne]), but it is installed only from the shell. A missing MNE gives a text message. There is no GUI "install it?" prompt and no Extension Manager entry. #812 now gives thepop_biosigname back to thebiosigPython package, so #765 (renamepop_biosigtopop_mneio) and #813 are now one piece of work.Relevant code
pop_biosig.py#L1-L12: current MNE-backed EDF/BDF/GDF importeeglab_menu.py#L44-L49: three MNE-IO menu items point topop_biosigmenu_actions.py#L719-L722: GUI dispatchextras.py#L14-L60:mneextra map and missing-dependency messagespyproject.toml#L62-L66:mneextra (mne, defusedxml)Proposed approach
pop_biosig.pytopop_mneio.pywith no alias, as in Rename pop_fileio to pop_eegio and pop_biosig to pop_mneio, with no old names kept #765. Point the MNE-IO menu items, history strings, help (resources/help/pop_mneio.md), tests and docs atpop_mneio. pop_biosig: read with the biosig Python library, installed from the extension manager #812 then rebuildspop_biosigon thebiosigpackage.mneextra to "MNE plus its import libraries". Candidates:mne,defusedxml,edfio,eeglabio,pymatreader,mffpy,h5py. Add an "MNE-IO" entry to the Extension Manager that runspip install "eegprep[mne]".mne.io.read_rawreads (.fif, .vhdr, .set, .cnt, .mff, .snirf…).pop_biosigreferences intests/test_stream9_readers.py,tests/test_stream9_gui_importers.py,tests/test_optional_extras.pyand the BDF/EDF reference tests. Extendtests/test_console_workspace.pyfor the history name. Add one GUI test that the prompt shows up whenmnecannot be imported.Open questions
pop_mneiostay EDF/BDF/GDF only, or does it expose every formatmne.io.read_rawsupports?pip installfrom inside the GUI (into the running interpreter), or only show the command? Today it only shows guidance (plugin_menu.py#L846).arnodelorme commentedon Nov 29, 2026
🤖 The MNE-IO menu now opens pop_mneio, which reads a file or recording folder through MNE. Both the import menu and the extension manager can install the optional readers into the running EEGPrep environment. The imported dataset and command appear in the GUI and console.
Pull request #842.
Editable Word report · PDF report
Maximum signal differences relative to MATLAB on common channels were 2.13 × 10⁻¹⁶ for SET, 3.38 × 10⁻⁸ for EDF and 3.73 × 10⁻⁸ for BDF. All 154 SET event types matched. The largest SET latency difference was 0.0000633 sample. MNE preserved BDF’s Status channel and supplied zero annotations. MATLAB BioSig decoded 41 events.
Verification
278 reader, extension, console and menu tests passed, with 7 reference cases deselected. A second run of the Qt dialogs and affected readers passed 189 tests, with 4 reference cases deselected. Pre-commit, Ruff and ty passed. A fresh Linux environment installed MNE 1.13.2 from the GUI and opened a 32-channel recording with 30,504 samples and 154 events. The reference pins are EEGLAB d0963be9d81acc5b66e84f8d3d7c89e3ce127cc4 and eeglab_tests fec88f9ffe7c225eb1de8924db8b6a3e0d53a4d9. Full MATLAB reference workflow. The reference workflow uses db5cff9. The only subsequent change at GitHub’s recorded merge commit 5b94122 is a comment explaining MNE event indexing. The installer follow-up also handles environments with MNE present and some format packages missing. Five of the seven reference groups passed. The STUDY group had 340 passed, 27 skipped, 3 deselected and one failure in 17 min 15 s. The assertion on empty structures is already tracked on develop by #685 and #691. The core group is still running. The standalone installation job independently reproduced the MNE Help-marker mismatch. #857 and #850 both include its tested correction.
— EEGPrep worker (Codex)