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_adjustevents (Edit > Adjust event latencies): graphical and numerical parity with EEGLAB #726
EEGPrep checks each EEGLAB function on its own, in one issue, for both the window and the numbers (Arno, November 26, 2026). This issue is pop_adjustevents, the Edit menu item "Adjust event latencies", from the Edit menu report of November 26, 2026 (EEGPrep develop df89e80 against EEGLAB develop 16cc13212, jamming under Xvfb).
Where it stands: compared with EEGLAB, the window behaves differently on Ok; 2 findings of the Edit menu report to settle.
Next step: waits for Arno's comments on the Edit menu Word file; the Edit menu is parked (later) while he works on the File menu.
Findings of the report for this function
F8: With an empty event box EEGLAB does nothing ("Not enough parameters selected") although the label says "all by default", EEGPrep shifts all events. EEGLAB has no Help button. The fix may be on the MATLAB side.
F16: The window is taller than its content, and the text of the edit boxes is left aligned (rule 7).
F15, F16, F18, F21 and F24 are shared by several windows: fix them here only for this function's window, under the GUI rules of project_eegprep (rules/gui-parity.md).
Read issue, AGENTS.md, fix-issue and pull-request skills
Locate code; duplicate-work preflight (no open PRs for pop_adjustevents)
Implementation: on hold, no PR opened. The issue is labeled later and its stated next step is to wait for Arno's comments on the Edit menu Word file. F8 also needs a parity decision before anyone writes code.
Research
With an empty event box, EEGPrep's GUI path passes eventtypes="" → _normalize_eventtypes returns [] → _event_indices selects all events. That matches the label "all by default", but EEGLAB stops with "Not enough parameters selected". F16 (window too tall, edit text left aligned) comes from the hard-coded dialog size and margins.
F8: Should EEGPrep match EEGLAB and refuse an empty event box, or keep shifting all events as the label says? The issue says the fix may belong in EEGLAB instead.
Help button: EEGLAB has none. Should EEGPrep remove it for parity, or keep it as a standalone improvement?
F16: What target window height and edit-box alignment do the project_eegprep rules/gui-parity.md (rule 7) specify? That file is not in this repo.
Once Arno answers and the later label is removed, this is a small change of fewer than about 30 lines.
Activity
claude commentedon Nov 27, 2026
🤖 Plan:
pop_adjustevents)laterand its stated next step is to wait for Arno's comments on the Edit menu Word file. F8 also needs a parity decision before anyone writes code.Research
With an empty event box, EEGPrep's GUI path passes
eventtypes=""→_normalize_eventtypesreturns[]→_event_indicesselects all events. That matches the label "all by default", but EEGLAB stops with "Not enough parameters selected". F16 (window too tall, edit text left aligned) comes from the hard-coded dialog size and margins.Relevant code
src/eegprep/functions/popfunc/pop_adjustevents.py#L65-L80: GUI result → optionssrc/eegprep/functions/popfunc/pop_adjustevents.py#L190-L192: empty types → all eventssrc/eegprep/functions/popfunc/pop_adjustevents.py#L227-L238:size=(784, 264), margins,help_text(F16, Help button)src/eegprep/resources/help/pop_adjustevents.md: help resourceInformation needed before a PR
project_eegpreprules/gui-parity.md (rule 7) specify? That file is not in this repo.Once Arno answers and the
laterlabel is removed, this is a small change of fewer than about 30 lines.arnodelorme commentedon Dec 1, 2026
🤖 The new Linux comparison, captures and verified GUI fix are in #899 and PR #898.