Repository navigation
Description
EEGPrep checks each EEGLAB function on its own, in one issue, for both the window and the numbers (Arno, November 26, 2026). This issue is pop_eegio (formerly pop_fileio), File menu: Import data > Using the EEG-IO interface. Arno, November 26, 2026: "I want a pop_eegio and pop_mneio function instead. No pop_fileio and pop_biosig functions." The rename is #765. It stays open until the window and the numbers are both acceptably close to EEGLAB's, even when a pull request is merged or closed.
- Window: needs work. The menu says EEG-IO and sends EDF, BDF and GDF files to MNE-IO (762, merged). Help text says which reader imports each format (715, merged). No question file or folder (F12).
- Numbers: close to EEGLAB. test.edf: same data, rate and labels (749, merged).
- What remains: The rename to pop_eegio with no old name kept (765). The EGI .mff item is read through MNE too. Folder formats (F12).
- Fixes (sub-issues): pop_fileio menu: say which Python reader EEGPrep uses (it is not FieldTrip's File-IO) #702, Reader menus: FILE-IO becomes EEG-IO and BIOSIG becomes MNE-IO #761, Rename pop_fileio to pop_eegio and pop_biosig to pop_mneio, with no old names kept #765
- Menu issue: EEGPrep versus EEGLAB, File menu: side-by-side screen captures, numerical tests and PDF report #696. The progress of every function is in the table of https://github.com/adelorme-assistant/project_eegprep#progress-of-the-port
Graphics
The File > Import data menus before and after pull request 762 (issue 761, merged): EEG-IO and MNE-IO.
Earlier captures
After the file is chosen (issue 702): EEGLAB asks file or folder, EEGPrep shows its options. The window is the same before and after, only the Help text changes.
The Help text before and after (issue 702): it now lists the reader used for each format.
Captured on jamming under a virtual screen (EEGLAB with getframe, EEGPrep with the Qt widget grab), and on the Mac where said.
The window: what differs from EEGLAB
- EEGPrep does not use FieldTrip's File-IO. Each format goes to an EEGPrep reader or to MNE-Python, and the Help text and the header now say which (rule 6).
- EEGLAB first asks file or folder. EEGPrep does not, so folder formats cannot be chosen (finding F12).
- The menu is called EEG-IO (pull request 762, merged), for the native readers and the conversions (rule 22). It sends EDF, BDF and GDF files to the MNE-IO menu.
- The item Import Magstim/EGI .mff file is read through MNE-Python too. Not decided yet whether it moves under MNE-IO.
The numbers: same file in both programs
test.edf: 24 of 25 quantities the same (case N13). The labels kept the prefixEEG(finding F5), fixed by issue 746 (merged as pull request 749).
Files
- Before and after report (Word and PDF): https://github.com/adelorme-assistant/project_eegprep/tree/main/reports/pr-702
- File menu report with Arno's comments: https://github.com/adelorme-assistant/project_eegprep/tree/main/reports/file-menu-2026-11-26
- Rules for the window work: https://github.com/adelorme-assistant/project_eegprep/blob/main/rules/gui-parity.md



Activity
claude commentedon Nov 27, 2026
🤖 Plan:
pop_fileiocodeResearch
The remaining work splits into three unrelated changes in different modules. None is a small, self-contained bug with a clear definition of done in this issue.
Relevant code
eeglab_menu.py#L48- menu label "Using the FILE-IO interface"pop_fileio.py#L52-L145- takes a single file path, dispatches on suffix; no folder inputpop_fileio.py#L198-L211- EDF/BDF/GDF/MFF/CNT go to MNE readers_file_io.py#L271-L272-chanlocs.labelscopied verbatim fromraw.ch_namesProposed approach (for human review)
eeglab_menu.py#L48, visual parity cases, docs, and maybe the action name. It also needs a list of which readers the menu keeps. Open questions: doespop_fileiokeep its name (console/history parity with EEGLAB), or is only the menu label renamed? Which formats stay under EEG-IO, and which move to BIOSIG ([IO] State that pop_biosig reads with MNE-Python, not BIOSIG #712) or to the per-format menus?EEG(F5). Labels pass through from MNE unchanged. The issue does not say which side has the prefix or what the 25th quantity shows. Before fixing this, I need the actual EEGLAB and EEGPrep{EEG.chanlocs.labels}fortest.edf(case N13).test.edfis not in this repo. If EEGLAB strips the prefix, the fix is a small label normalization inpop_fileio(not in the sharedmne_raw_to_eeg, whichpop_biosigalso uses), with a regression test on an EDF that hasEEG-prefixed labels.pop_fileiofirst asks for a file or a folder. This is feature work: GUI flow, a directory-path branch inpop_fileio, and a defined list of supported folder formats. Note that.mffis itself a directory and is routed today only by suffix. Open question: which folder formats are in scope (EGI.mffonly, or also CTF.dsand Neuralynx)?Suggested next step: file one sub-issue per item above, each with a definition of done. Item 2 is ready as a <100-line PR once the expected labels are confirmed.
[-]pop_fileio (File > Import data > Using the FILE-IO interface): graphical and numerical parity with EEGLAB[/-][+]pop_eegio, formerly pop_fileio (File > Import data > Using the EEG-IO interface): graphical and numerical parity with EEGLAB[/+]arnodelorme commentedon Nov 27, 2026
Renamed after Arno's answer of November 26, 2026: "I want a pop_eegio and pop_mneio function instead. No pop_fileio and pop_biosig functions." The rename itself, with no alias for the old name, is #765. The summary above still uses the old name until the eegprep worker brings it up to date.
— orchestrator
Point MFF imports to the folder picker in File menu help
Point the data-format troubleshooting help at the MFF folder picker
suraj-ranganath commentedon Nov 28, 2026
On develop (
aa81d9ab), File > Import data > Using the EEG-IO interface opens a file-only chooser. The format question comes afterward, so a recording directory cannot reach it. The dedicated .mff entry accepts a directory.For F12, offer file or folder at the generic entry as EEGLAB does. Route a supported folder to its reader and describe the reader's actual memory behavior in Help. Offer memory mapping only where the reader supports it. Check a file and a folder through this menu against the dedicated imports, including samples and events. Cancelling either choice should leave the session intact. pop_fileio.m L71 · pop_fileio.m L124 · menu_actions.py L774
pop_fileio help: send MFF users to the folder picker (#783)