Repository navigation
Backlog
Labels
gui-parityWindow of EEGPrep against EEGLAB's (Arno's report comments)laterParked until Arno removes the label
Description
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_mergeset, the Edit menu item "Append datasets", 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 has different controls, wording or defaults; 4 findings of the Edit menu report to settle.
- Numerical tests: N23 to N26: all 4 differ (urevent latency on continuous data, urevent count 309 versus 308 on epoched data, F5).
- Report and pull request: the Edit menu report issue EEGPrep versus EEGLAB, Edit menu: side-by-side captures on jamming, numerical tests and PDF and Word report #711, no pull request yet for this function; the findings summary is EEGPrep versus EEGLAB, Edit menu: side-by-side captures on jamming, numerical tests and PDF and Word report #711 (comment)
- Progress tracking: in
adelorme-assistant/project_eegprep, not here: https://github.com/adelorme-assistant/project_eegprep/blob/main/tracking/functions.md - 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
- F5: urevent latencies of the second dataset shifted by
pntsin EEGPrep only (continuous), and no boundary urevent in EEGPrep (epoched).EEG.eventand data identical. - F6: Default indices in the window:
1in EEGLAB,1 2in EEGPrep. Decision needed. - F14: Minor differences of structure with the same data and events (an
eventdescriptionentry forduration, urevent order, empty keys of a boundary event, the trailing empty slot ofpop_delset). - F21: With one dataset loaded, the refusal message is a grey system box with other wording in EEGPrep (rule 10).
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).
Files
- Report (PDF and Word): https://github.com/adelorme-assistant/project_eegprep/tree/main/reports/edit-menu-2026-11-26
- Edit menu issue: EEGPrep versus EEGLAB, Edit menu: side-by-side captures on jamming, numerical tests and PDF and Word report #711
- Captures and numerical outputs:
/mnt/v1/arno/menu_tests/editon jamming.ucsd.edu (numerical/results.mdlists every quantity).
Metadata
Metadata
Assignees
Labels
gui-parityWindow of EEGPrep against EEGLAB's (Arno's report comments)laterParked until Arno removes the label
Activity
claude commentedon Nov 27, 2026
🤖 Plan:
pop_mergeset)laterlabel (parked until Arno comments on the Edit menu report), F6 needs a decision, and the four findings cover both GUI and numerics.Research
The numerical mismatches (F5, and the urevent count 309 vs 308) come from
_merge_urevents. In continuous mode it shifts the second dataset's urevent latencies byfirst_pnts, which EEGLAB does not do. In epoched mode it adds no boundary urevent, which EEGLAB does._merge_eventsrebasesevent.ureventwith+ (0 if epoched else 1), so the epoched indices also have to change once a boundary urevent is added. F6 comes from_default_indices_text, which offers the first two datasets. F21 (the one-dataset refusal) is handled by the GUI caller rather than by an EEGLAB-style error dialog in this module.Relevant code
pop_mergeset.py#L199-L217: urevent merge (latency shift at L214-L215, boundary only for continuous data at L209-L210)pop_mergeset.py#L172-L196: event merge andureventindex rebasepop_mergeset.py#L115-L120: default indices (1 2)pop_mergeset.py#L69-L89: dialog specProposed Fix
Once Arno removes
later:+1for every rebasedevent.urevent. Add a regression test onsample_datacovering the urevent count and latencies (N23 to N26), then confirm with the EEGLAB reference run, since this changes a core function.1 2, which is more convenient, or use EEGLAB's1?eventdescriptionentry forduration, urevent order, the empty keys of the boundary event, and the empty slot left bypop_delset) after item 1, because some of them may disappear with it.Items 1 and 3 are under 100 lines, but they touch core event semantics and need human approval, so I am holding implementation until the label is removed and F6 is decided.
arnodelorme commentedon Dec 1, 2026
🤖 The new Linux comparison, captures and verified GUI fix are in #905 and PR #904.