Skip to content

pop_importbids window: look the same as EEGLAB's (bids_import); BIDS export ignored for now #707

Done

Description

@arnodelorme

Arno commented the File menu report of #696 (EEGPrep versus EEGLAB, side-by-side captures) on November 26, 2026; this issue is one of his comments, with one pull request to address it.

Arno's comment, in his words

Let's ignore the BIDS export for now, only BIDS import which has a dedicated function in EEGPREP bids_import. Ideally, the graphical interface will look the same for import on both MATLAB and Python, though. Just the underlying code might be different.

From his annotated copy of the report: https://github.com/adelorme-assistant/project_eegprep/blob/main/reports/file-menu-2026-11-26/EEGPrep_vs_EEGLAB_File_menu_2026-11-26_Arno-comments.docx

How to test

The windows are opened on jamming (MATLAB R2025b and EEGPrep under Xvfb, /mnt/v1/arno/menutest_probe shows how), never on Arno's Mac in the daytime. Capture EEGLAB's window, EEGPrep's before and EEGPrep's after; put the three side by side. Run the tests of the functions touched (pytest) before opening the pull request.

Activity

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

    @claude
    Contributor

    🤖 Plan: not opening a PR from this run. The work cannot be done or checked here (see Blockers).

    Research

    EEGPrep already has a port of the pop_importbids.m options dialog (lines 104-143), including the study name, the electrodes.tsv and events.tsv checkboxes, the event type field, the task, session, run and recording filters, participant indices, and the output folder. What is missing is evidence that it matches EEGLAB: tools/visual_parity/cases.json has no pop_importbids case, so no EEGLAB vs EEGPrep comparison has been captured.

    Relevant code:

    Proposed Fix

    1. Add a pop_importbids case to tools/visual_parity/cases.json that points both sides at the same small BIDS folder with sessions and runs, so that the optional listbox rows are shown.
    2. Capture EEGLAB (R2025b, EEG-BIDS plugin) and EEGPrep under Xvfb on jamming, following the eeglab-gui-visual-parity skill.
    3. Change only pop_importbids_dialog_spec (geometry weights, label wording, control order, defaults and enabled states) until the two captures match. _import_dialog stays as it is unless a tag changes.
    4. Run uv run pytest tests/test_stream10_export_bids.py, then put the EEGLAB, EEGPrep-before and EEGPrep-after captures side by side in the Word and PDF files. Open the PR from agent/issue-707 against develop.

    Blockers (why this run stopped)

    • This runner has no MATLAB or Octave, and it was not allowed to download the upstream pop_importbids.m. So EEGLAB's window cannot be captured, and wording and layout cannot be compared. A change made without that comparison would be a guess.
    • The issue requires captures from jamming and a Word/PDF report. Neither can be produced from CI.

    This needs a run on jamming with MATLAB available.

  3. arnodelorme commented on Nov 26, 2026

    @arnodelorme
    CollaboratorAuthor

    Pull request: #720 ([BIDS] Match the EEGLAB layout of the BIDS import window). EEGLAB's window was captured on jamming on a real BIDS folder (two subjects of ds005509) next to EEGPrep's. EEGPrep already had the same controls and words; the layout now follows EEGLAB's geometry (aligned filters, short greyed run list, same width) and the event type popup lists the same nine columns as EEGLAB. Captures and tests (127 passed): https://github.com/adelorme-assistant/project_eegprep/blob/main/reports/pr-707/issue-707_before_after.pdf (Word file next to it). Nothing on the BIDS export wizard. Arno merges.

  4. changed the title [-]BIDS import window: look the same as EEGLAB's (bids_import); BIDS export ignored for now[/-] [+]pop_importbids window: look the same as EEGLAB's (bids_import); BIDS export ignored for now[/+] on Nov 27, 2026
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