You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pop_rmdat: remove the extra empty row between event types and time limits #822
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.
Remove the extra row so the layout matches EEGLAB.
One small pull request, Linux captures (EEGLAB, EEGPrep before, after) on top.
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?
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.
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.
🤖 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.
Activity
claude commentedon Nov 28, 2026
🤖 Plan:
pop_rmdat_dialog_specgeometry/size with EEGLABpop_rmdat.mResearch
The spec (
pop_rmdat.py#L57-L63) has no blank row. The window has a fixed height (size=(616, 221)), so_rows_share_heighthands all of the spare height to the two input rows. That spreads them apart. In EEGLAB,superguialso splits that height with the blank row inputgui adds above OK.Relevant code
qt.py#L917-L935: rows share the fixed height evenlyqt.py#L265-L269: spacer row gets an equal stretch shareFix
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.
arnodelorme commentedon Nov 28, 2026
🤖 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.
arnodelorme commentedon Nov 28, 2026
🤖 #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)
EEGPrep before on Linux (jamming)
EEGPrep after on Linux (jamming)
arnodelorme commentedon Nov 28, 2026
Done: pop_rmdat test fix
Pull request: #831
— eegprep, reported with orch done