Skip to content

pop_eegio, formerly pop_fileio (File > Import data > Using the EEG-IO interface): graphical and numerical parity with EEGLAB #736

Backlog
3 of 3 issues completed

Description

@arnodelorme

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.

Graphics

The File > Import data menus before and after pull request 762 (issue 761, merged): EEG-IO and MNE-IO.

761

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.

702

The Help text before and after (issue 702): it now lists the reader used for each format.

702_help

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 prefix EEG (finding F5), fixed by issue 746 (merged as pull request 749).
Files

Sub-issues

Sub-issues

3 of 3 Issues completed
Loading 3 sub-issues

Activity

  1. added
    function-parity
    on Nov 27, 2026
  2. claude commented on Nov 27, 2026

    @claude
    Contributor

    🤖 Plan:

    Research

    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

    Proposed approach (for human review)

    1. Menu rename to EEG-IO (rule 22). Design decision, not a bug: it changes the label at 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: does pop_fileio keep 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?
    2. EDF labels, prefix 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} for test.edf (case N13). test.edf is not in this repo. If EEGLAB strips the prefix, the fix is a small label normalization in pop_fileio (not in the shared mne_raw_to_eeg, which pop_biosig also uses), with a regression test on an EDF that has EEG -prefixed labels.
    3. Folder formats (F12). EEGLAB's pop_fileio first asks for a file or a folder. This is feature work: GUI flow, a directory-path branch in pop_fileio, and a defined list of supported folder formats. Note that .mff is itself a directory and is routed today only by suffix. Open question: which folder formats are in scope (EGI .mff only, or also CTF .ds and 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.

  3. changed the title [-]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[/+] on Nov 27, 2026
  4. arnodelorme commented on Nov 27, 2026

    @arnodelorme
    CollaboratorAuthor

    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

  5. suraj-ranganath commented on Nov 28, 2026

    @suraj-ranganath
    Member

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    function-parity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions