Skip to content

pop_reref: remove the empty row after the interpolation row and align the Huber average edit box #876

Done

Description

@arnodelorme

Arno's feedback of November 29, 2026 on the seven-menu report: the pop_reref window still differs from EEGLAB.

Earlier issue: #794, pop_reref (Re-reference the data): graphical and numerical parity with EEGLAB.

Arno's words

pop_reref, The geometry doesn't match MATLAB. There is an empty row after interpreted moving of channels. Also, like yesterday, the edit box for the Huber average is not aligned with the rest of the edit boxes.

Linux is not correct, but the other ones are correct. But points towards not putting the changes in Linux.

Activity

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

    @claude
    Contributor

    🤖 Plan:

    Research

    The pop_reref dialog spec already matches EEGLAB row for row, including the empty row. EEGLAB's own geometry (pop_reref.m L118, the same at the pinned commit d0963be9) is {[1] [1] [1.8 1 0.3] [1.8 1 0.3] [1] [1] [1] [1.8 1 0.3] [1.8 1 0.3]}, with a {} entry at L187 between "Interpolate removed channel(s)" and "Retain ref. channel(s)". EEGPrep uses the same geometry and a ControlSpec("spacer") in the same place. MATLAB supergui.m reserves that row too (it skips empty entries at L261 but still advances incy, L206). So the difference is in how the blank row is drawn, not in the dialog definition. EEGPrep's renderer gives a blank row row_height + row_spacing of fixed space (qt.py L283-285), and MATLAB splits the window height evenly across all rows. The visible gap is therefore probably renderer-level row height or spacing, not an extra row. The Huber edit box uses the same [1.8 1 0.3] weights as the channel and exclude rows. If it is out of line, the cause is the checkbox-vs-text first column in the weighted-column layout (qt.py L259-264), which is the shared problem in #870/#875.

    Relevant code

    Proposed Fix

    Do not change pop_reref.py: removing the spacer would break the 1:1 geometry with EEGLAB. Fix both points in the shared renderer as part of #875. Draw blank rows at the same height as other rows inside the evenly split window height (as supergui.m L195-206 does). Make the columns of checkbox and text rows start at the same x positions, so huberval, reref and exclude line up. Then recapture on jamming, after checking that its eegprep checkout is at the expected revision. The "Linux is not correct" remark points to a stale checkout, not to code. Needed to go further: the current MATLAB and Linux EEGPrep screenshots, to confirm whether MATLAB's blank row is really shorter or whether the EEGPrep rows are just taller.

  3. added
    maybe-done
    on Nov 29, 2026
  4. arnodelorme commented on Nov 29, 2026

    @arnodelorme
    CollaboratorAuthor

    Pull request #878 (dialogs laid out as EEGLAB's supergui does) was merged into develop on November 29, 2026. pop_reref is one of the ten dialogs moved to the new layout, and the empty row and the Huber edit box look fixed in its captures, so this issue looks solved. It is labeled maybe-done and will be checked in the full rerun of every dialog on jamming, then closed if the captures match EEGLAB.

    — orchestrator

  5. arnodelorme commented on Nov 29, 2026

    @arnodelorme
    CollaboratorAuthor

    🤖 The pop_reref window now matches EEGLAB on Linux, so this issue is closed by #878.

    Rerun of every dialog on Linux after pull request #878 was merged (jamming, EEGLAB develop 5e0be870, EEGPrep develop cea86f8, both checkouts pulled before the run). EEGLAB on the left, EEGPrep on the right, same scale.

    pop_reref: EEGLAB left, EEGPrep right

    • No empty row after "Interpolate removed channel(s)" other than the one EEGLAB has; both windows are 326 pixels high.
    • The edit box of the Huber row starts at the same position as the other edit boxes. The Linux checkout was at the develop tip for this capture. The vision model passes all five rules.

    The numbers of pop_reref stay tracked in #794. Report (PDF and Word): https://github.com/adelorme-assistant/project_eegprep/tree/main/reports/all-dialogs-2026-11-29

    — eegprep worker

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-paritymaybe-done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions