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_studyerp: two rows of text, the same in EEGLAB and EEGPrep #819
Linux (jamming) captures of EEGLAB and EEGPrep from the November 28 run are added below, directly visible, by the EEGPrep worker. Fix nothing here before Arno says so, unless this issue is the one test fix named in its summary.
Arno's words
Arno's feedback of November 28, 2026 on the File and Edit comparison report (EEGLAB_vs_EEGPrep_File_and_Edit.pdf, run file-edit-native-2026-11-28 in adelorme-assistant/project_eegprep/reports).
pop_studyerp Problem in MATLAB as the text is cut. In Python, some of the text is not present; it's not the same text. What should be done instead is to have two rows with different text in both MATLAB and Python.
Arno picks the two-row wording (below), then the EEGLAB change lands in sccn/eeglab
EEGPrep PR with the same two rows
Status: No PR opened. The fix also needs a change in sccn/eeglab, which can't be made from this repo, and the issue says to wait for Arno. Once the wording is agreed, the EEGPrep part is about 10 lines.
Research
EEGLAB puts a 5-line string (lines split with 10) in one text control with geomvert 4, so the last line is cut. EEGPrep replaced it with one shorter sentence in a different wording, in a row of height 1. That drops the "grand average ERPs" and "standard editor" lines, and the rest no longer matches EEGLAB's words.
Use two text controls, one row each, with the same words on both sides. Proposed wording (Arno to confirm):
Creates a simple STUDY and its condition grand average ERPs.
Store each condition of each subject in a separate dataset.
EEGLAB (pop_studyerp.m):
guispec = { ...
{'style''text''string''Create simple ERP STUDY''FontWeight''Bold''fontsize', 12} ...
{'style''text''string''Creates a simple STUDY and its condition grand average ERPs.' } ...
{'style''text''string''Store each condition of each subject in a separate dataset.' } ...
... % count rows unchanged
guigeom = { [1] [1] [1] [10.30.4] [10.30.4] };
% and remove 'geomvert', [1 4 1 1]
EEGPrep (pop_studyerp_counts_dialog_spec): set geometry=((1,), (1,), (1,), (1, 0.3, 0.4), (1, 0.3, 0.4)) and use two ControlSpec("text", ...) rows with the same strings. Then recapture the pop_studyerp visual parity case.
This wording drops the line "Create other STUDY using the standard editor." If Arno wants it kept, it can go in a third row.
🤖 The ERP STUDY wizard explains what it computes and how to arrange the datasets in two visible rows. EEGLAB clipped the previous instructions, and EEGPrep omitted the purpose of the calculation.
207 local GUI and function tests passed. Four reference cases were deselected. Pre-commit, Ruff and ty passed. On jamming under Xvfb, both complete lines were visible in MATLAB R2025b and Qt. The condition and subject defaults were 1 and 15. Windows CI reports the pre-existing one-pixel Qt row check #834, addressed by #835. Windows job.
Activity
claude commentedon Nov 28, 2026
🤖 Plan:
pop_studyerp.mand EEGPreppop_studyerp.pypop_studyerpStatus: No PR opened. The fix also needs a change in
sccn/eeglab, which can't be made from this repo, and the issue says to wait for Arno. Once the wording is agreed, the EEGPrep part is about 10 lines.Research
EEGLAB puts a 5-line string (lines split with
10) in one text control withgeomvert4, so the last line is cut. EEGPrep replaced it with one shorter sentence in a different wording, in a row of height 1. That drops the "grand average ERPs" and "standard editor" lines, and the rest no longer matches EEGLAB's words.Relevant code
eeglab/functions/studyfunc/pop_studyerp.m#L44-L61- 5-linetextinfo,geomvert [1 4 1 1]src/eegprep/functions/studyfunc/pop_studyerp.py#L35-L56- counts dialog spec, one reworded text rowProposed Fix
Use two text controls, one row each, with the same words on both sides. Proposed wording (Arno to confirm):
Creates a simple STUDY and its condition grand average ERPs.Store each condition of each subject in a separate dataset.EEGLAB (
pop_studyerp.m):EEGPrep (
pop_studyerp_counts_dialog_spec): setgeometry=((1,), (1,), (1,), (1, 0.3, 0.4), (1, 0.3, 0.4))and use twoControlSpec("text", ...)rows with the same strings. Then recapture thepop_studyerpvisual parity case.This wording drops the line "Create other STUDY using the standard editor." If Arno wants it kept, it can go in a third row.
arnodelorme commentedon Nov 29, 2026
🤖 The ERP STUDY wizard explains what it computes and how to arrange the datasets in two visible rows. EEGLAB clipped the previous instructions, and EEGPrep omitted the purpose of the calculation.
Pull request #836 and companion MATLAB pull request sccn/eeglab#999.
Editable Word report · PDF report
Verification
207 local GUI and function tests passed. Four reference cases were deselected. Pre-commit, Ruff and ty passed. On jamming under Xvfb, both complete lines were visible in MATLAB R2025b and Qt. The condition and subject defaults were 1 and 15. Windows CI reports the pre-existing one-pixel Qt row check #834, addressed by #835. Windows job.
— EEGPrep worker (Codex)
arnodelorme commentedon Dec 1, 2026
🤖 The new pop_studyerp GUI finding is tracked in #1033. PR #1032 includes the captures and numerical measurements.