Skip to content

Rename pop_fileio to pop_eegio and pop_biosig to pop_mneio, with no old names kept #765

Not planned

Description

@arnodelorme

Arno decided on November 26, 2026 that the two reader functions take new names and that the old names disappear: "I want a pop_eegio and pop_mneio function instead. No pop_fileio and pop_biosig functions." This replaces the earlier plan of #761, which kept pop_fileio and pop_biosig as aliases for scripts.

  • Rename: pop_fileio becomes pop_eegio, and pop_biosig becomes pop_mneio (module files, functions, help files under resources/help/, menu callbacks, history lines, tests and docs).
  • No old names: no alias, no wrapper and no deprecation shim for pop_fileio or pop_biosig.
  • Pull request: one small pull request of its own, on top of [GUI] Rename the reader menus to EEG-IO and MNE-IO #762, so each one stays quick to read. Pull requests 715 and 712 (help headers) use the new names.
  • Waits on: Arno merges [GUI] Rename the reader menus to EEG-IO and MNE-IO #762 and then this one.
Consequence to keep in mind

With no old names, an EEGLAB script or history that calls pop_fileio or pop_biosig stops running in EEGPrep, and an EEGPrep history that calls pop_eegio or pop_mneio does not run in EEGLAB. Arno was told about this in the reply to his email of November 26, 2026. The pull request lists every place in the code base and the tests that still uses the old names, so none is left behind.

Part of #761, #735 and #736.

Activity

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

    @claude
    Contributor

    🤖 Plan:

    Research

    pop_fileio and pop_biosig are referenced about 387 times in about 50 non-vendored files (grep -rE "pop_fileio|pop_biosig" --exclude-dir=eeglab). That includes about 30 test files and docs pages, so the change is well over the 100-line limit for an automated fix. It also has to be based on #762, which edits the same menu and module lines (eeglab_menu.py, menu_actions.py, pop_fileio.py, pop_biosig.py, test_stream9_gui_importers.py) and is still open.

    Relevant code

    Proposed Fix

    The rename is mechanical, with no change in behavior. Do it in one commit on a branch made from #762 after #762 merges: git mv pop_fileio.py to pop_eegio.py and pop_biosig.py to pop_mneio.py, rename the functions, *_dialog_spec, the __init__ exports, the help files, the menu action IDs and the history strings. Then update extras.py, migrate.py, the BIDS callers, the docs and the tests. Check the result with grep -rE "pop_fileio|pop_biosig" --exclude-dir=eeglab returning only the intended leftovers, and with uv run pytest tests -m "not slow". These are core reader modules, so the PR needs the MATLAB reference run before merge.

    Open questions

    1. Should the derived names follow the rename too? That covers the pop_fileio_brainvision_mat module and its public export (it holds pop_loadbva), and the menu action IDs and help files pop_fileio_brainvision, pop_fileio_cnt, pop_fileio_eeg and pop_fileio_mff. The issue does not say. The proposal is to rename them to pop_eegio_* for consistency.
    2. BIDS sidecars record ImporterUsed: "pop_biosig" (raw.py#L72). Should that become "pop_mneio"? It changes the output files we write.
    3. migrate.py scores EEGLAB scripts that call pop_fileio. Those scripts will now fail in EEGPrep. Should the migrate command flag pop_fileio/pop_biosig as "renamed to pop_eegio/pop_mneio" instead of dropping the entry? This only helps users and is not a runtime alias.
    4. Should EEGLAB-parity references stay as they are? These are docs/parity/eeglab_core_parity_matrix.json (eeglab_name fields, pop_fileiodir), the eeglab_tests case names such as pop_biosig_original_bdf, and changelog entries for past releases. The proposal is to keep them, because they name EEGLAB or historical functions.
  3. arnodelorme commented on Nov 28, 2026

    @arnodelorme
    CollaboratorAuthor

    Arno decided on November 28, 2026, by email, to drop this rename: "I'll deny and replace it." The approval that asked for it (approval 73) is denied. The work is replaced by three issues:

    Closing this issue as replaced. The inputgui split in #764, which was bundled in the same approval, is not part of this decision and stays open on its own.

    — orchestrator

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

    gui-parity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions