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 continuous rejection dialog displays the full channel range in brackets and sizes its seven rows from their contents. On jamming the maximum control-top error changed from 103.17 to 0.47 pixels. This PR stacks on #941.
The selected sample intervals matched exactly at 6, 10 and 14 dB. The cases returned 19, 8 and 0 intervals, respectively. Maximum normalized distance across the three comparisons was 0.
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 173 passed, 8 deselected in 15.32s. 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 #551, [Release readiness] Stream 6: Rejection numbers.
pop_rejcont_dialog_spec still used the older qt layout with size=(560, 332). _apply_spec_size multiplies a preset height by EEGLAB_ROW_SCALE (1.1) and uses it as a floor, so the window opened at 365 px. The channel default was 1:N, not [1:N].
Use layout="supergui" (as pop_rejspec and pop_select do) and drop size. inputgui_layout gives 559 x 273 px for these seven [2 1] rows. Default elecrange to [1:N], which one_based_indices already parses.
Status: the new Qt test (tests/test_gui_rejection_dialogs.py) is skipped locally because libEGL is missing on this runner, so CI runs it for the first time. The visual parity case window size is now 560 x 273. The EEGLAB pop_rejcont.m source was not reachable here, so the [1:N] default comes from the issue report. No native side-by-side capture was run.
Activity
claude commentedon Dec 1, 2026
🤖 Plan:
Research
pop_rejcont_dialog_specstill used the olderqtlayout withsize=(560, 332)._apply_spec_sizemultiplies a preset height byEEGLAB_ROW_SCALE(1.1) and uses it as a floor, so the window opened at 365 px. The channel default was1:N, not[1:N].Relevant code
src/eegprep/functions/popfunc/pop_rejcont.py#L57-L83- dialog spec, size, elecrange defaultsrc/eegprep/functions/guifunc/qt.py#L1294-L1295- preset height floor scaled by 1.1Proposed Fix
Use
layout="supergui"(as pop_rejspec and pop_select do) and dropsize.inputgui_layoutgives 559 x 273 px for these seven[2 1]rows. Defaultelecrangeto[1:N], whichone_based_indicesalready parses.Status: the new Qt test (
tests/test_gui_rejection_dialogs.py) is skipped locally because libEGL is missing on this runner, so CI runs it for the first time. The visual parity case window size is now 560 x 273. The EEGLABpop_rejcont.msource was not reachable here, so the[1:N]default comes from the issue report. No native side-by-side capture was run.