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_reref: remove the empty row after the interpolation row and align the Huber average edit box #876
He adds that the Linux capture is wrong while the Mac and Windows ones are right, which suggests the changes did not reach the Linux checkout on jamming. Check the revision there before the next capture.
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.
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.
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.
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.
🤖 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.
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.
Activity
claude commentedon Nov 29, 2026
🤖 Plan:
pop_reref; parent Dialog geometry test suite on Linux: ten dialogs drawn from the same geometry in EEGLAB and EEGPrep, supergui reworked to match MATLAB #875 still open)pop_rerefdialog spec with EEGLABpop_reref.pyResearch
The
pop_rerefdialog spec already matches EEGLAB row for row, including the empty row. EEGLAB's own geometry (pop_reref.mL118, the same at the pinned commitd0963be9) 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 aControlSpec("spacer")in the same place. MATLABsupergui.mreserves that row too (it skips empty entries at L261 but still advancesincy, L206). So the difference is in how the blank row is drawn, not in the dialog definition. EEGPrep's renderer gives a blank rowrow_height + row_spacingof fixed space (qt.pyL283-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.pyL259-264), which is the shared problem in #870/#875.Relevant code
src/eegprep/functions/popfunc/pop_reref.py#L170-L180- geometry, the same as EEGLABsrc/eegprep/functions/popfunc/pop_reref.py#L241-L242- interp checkbox + spacer (EEGLAB{})src/eegprep/functions/guifunc/qt.py#L278-L285- how a blank row is drawnsrc/eegprep/functions/guifunc/qt.py#L259-L264- weighted column widths (edit box x position)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 (assupergui.mL195-206 does). Make the columns of checkbox and text rows start at the same x positions, sohuberval,rerefandexcludeline 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.arnodelorme commentedon Nov 29, 2026
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
arnodelorme commentedon Nov 29, 2026
🤖 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.
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