Skip to content

pop_rmdat: remove the extra empty row between event types and time limits #822

Done

Description

@arnodelorme

The EEGPrep window has an empty row between the event type row and the time limits row that EEGLAB does not have. This is the single test fix of November 28, 2026, done by Codex as one pull request with Linux before and after captures.

Captures

Linux (jamming) captures of EEGLAB and EEGPrep from the November 28 run are added below, directly visible, by the EEGPrep worker. Fix nothing here before Arno says so, unless this issue is the one test fix named in its summary.

Arno's words

Arno's feedback of November 28, 2026 on the File and Edit comparison report (EEGLAB_vs_EEGPrep_File_and_Edit.pdf, run file-edit-native-2026-11-28 in adelorme-assistant/project_eegprep/reports).

pop_rmdat, It seems like there is an extra empty row in the Python version between the event types row and the time limit row. Can you remove it so it matches the MATLAB version?

Activity

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

    @claude
    Contributor

    🤖 Plan:

    Research

    The spec (pop_rmdat.py#L57-L63) has no blank row. The window has a fixed height (size=(616, 221)), so _rows_share_height hands all of the spare height to the two input rows. That spreads them apart. In EEGLAB, supergui also splits that height with the blank row inputgui adds above OK.

    Relevant code

    Fix

    Add a trailing (1,) spacer row to the spec, so the spare height goes above the buttons, as in EEGLAB. The new Qt test checks that the gap between the two edit boxes is smaller than one edit height.

    Not yet confirmed: I could not render the window locally because libEGL is missing, so the new test was skipped here. CI installs the Qt libraries and will run it. No Linux after-capture has been taken yet.

  3. arnodelorme commented on Nov 28, 2026

    @arnodelorme
    CollaboratorAuthor

    🤖 The MATLAB and Python dialog definitions both have two rows. EEGPrep fixes the window height at 221 pixels, and Qt distributes the spare height between the rows. I’ll let this dialog fit its controls and compare the resulting gap on jamming.

  4. arnodelorme commented on Nov 28, 2026

    @arnodelorme
    CollaboratorAuthor

    🤖 #831 brings the gap between the two edit fields from 37 pixels to 6 pixels on jamming. EEGLAB shows 5 pixels.

    EEGLAB in MATLAB on Linux (jamming)

    EEGLAB in MATLAB, pop_rmdat dialog

    EEGPrep before on Linux (jamming)

    EEGPrep before, pop_rmdat dialog

    EEGPrep after on Linux (jamming)

    EEGPrep after, pop_rmdat dialog

  5. arnodelorme commented on Nov 28, 2026

    @arnodelorme
    CollaboratorAuthor

    Done: pop_rmdat test fix

    Pull request: #831

    — eegprep, reported with orch done

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