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
The Remove components dialog uses the recorded column widths for remove and retain, with the height fitted to its three rows. On jamming the maximum control-top error changed from 90.44 to 0.47 pixels. This PR stacks on #945.
The three ICA comparisons remove component 1, remove components 2 and 5, and retain components 1, 3 and 6. All compare the full projected dataset. Maximum normalized distance across the three comparisons was 2.84e-07.
Verification and methods
The two public functions opened on the same sample inputs with clean EEGLAB and EEGPrep checkouts. For each numerical case the distance is the largest absolute error divided by the largest absolute MATLAB output. Tests on jamming reported 135 passed in 0.64s. The native MATLAB R2025b run is separate from the Python test runner.
Verification and history
Compare the two native windows on jamming, including input, submission and output. Record both checkout SHAs and verify the active Python import path. Part of #875. Follow-up to #675, GUI audit Nov 23: Edit and Tools fixes (DIPFIT co-registration and fine fit, epoched Select data, firpmord, Inspect/label components).
CI green: base install and review passed; docs, pre-commit, ruff/ty and EEGLAB Python backend still queued for runners
Research pop_subcomp_dialog_spec uses the old "qt" layout with a preset size=(538, 231), custom margins and geometry (3.2, 1.0). EEGLAB pop_subcomp.m passes geom = { 1 [2 0.7] [2 0.7] } to inputgui.
Fix (PR #970)
Use layout="supergui" with EEGLAB geometry and drop the preset size/margins. The supergui port gives 170.9 px height with MATLAB Linux text extents (EEGLAB: 171).
Not done: a MATLAB reference case in tools/gui_geometry/ (needs MATLAB) and a side-by-side native comparison on jamming (PySide6 unavailable in this runner).
Activity
claude commentedon Dec 1, 2026
🤖 Plan:
Research
pop_subcomp_dialog_specuses the old "qt" layout with a presetsize=(538, 231), custom margins and geometry(3.2, 1.0). EEGLABpop_subcomp.mpassesgeom = { 1 [2 0.7] [2 0.7] }toinputgui.Relevant code
src/eegprep/functions/popfunc/pop_subcomp.py#L66-L88- dialog specsrc/eegprep/functions/guifunc/supergui.py- supergui port used by [GUI] Move four Edit dialogs to EEGLAB's supergui layout #884Fix (PR #970)
Use
layout="supergui"with EEGLAB geometry and drop the preset size/margins. The supergui port gives 170.9 px height with MATLAB Linux text extents (EEGLAB: 171).Not done: a MATLAB reference case in
tools/gui_geometry/(needs MATLAB) and a side-by-side native comparison on jamming (PySide6 unavailable in this runner).