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_comments (Edit > About this dataset): graphical and numerical parity with EEGLAB #727
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_comments, the Edit menu item "About this dataset", 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.
Numerical tests: N68 to N70: 1 identical (replace), 2 differ on comments (concat, F9).
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
F9: EEGPrep reflows the comments (21 lines become 6), and SAVE with no edit writes a pop_comments history line with the reflowed text. concat gives different line breaks.
F22: Other window title, and EEGLAB's window is pale with large buttons.
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).
Implementation: not started, issue is not actionable yet
Not actionable yet, no PR opened. The issue has the later label, and its next step says it waits for Arno's comments on the Edit menu Word file. There is no agreed definition of done for F9 or F22. Once Arno says which fixes to make, please remove later and confirm:
F9: should SAVE with no edit write no history at all (com = ''), or write the history line with the original line breaks? And is the expected concat output the line-for-line EEGLAB char-matrix join from N69/N70 (numerical/results.md on jamming)?
F22: should the window title be the plottitle argument (EEGLAB's figname) instead of the fixed Read/Enter text -- pop_comments()? Which EEGLAB capture is the reference for the pale background and button size?
Where to look in the code
pop_comments.py#L36-L52: the GUI path always builds a history command, even when the text is unchanged (F9)
pop_comments.py#L88-L99: turns comments into text. A char matrix comes in as rows and is joined with \n. The 21→6 reflow likely comes from the QTextEdit round trip or from loading, which needs the jamming dataset to check
pop_comments.py#L102-L107: the concat join (strips and adds a single \n), which is where it can differ from EEGLAB's strvcat behavior
pop_comments.py#L61-L85: the dialog spec. The title is hard-coded at L69, while display_title is only passed to known_differences (F22)
Likely fix (after confirmation): skip the history entry when the edited text equals old_text, keep the original line splits when converting to text and back, match EEGLAB's char-matrix concat, and take the window title from plottitle. Each finding is a change under 100 lines, but F9 needs the N68–N70 fixtures from jamming for a regression test.
🤖 The new native capture on jamming and the resizable comments-window fix are tracked in #925. The November 30 order on #875 includes this Edit menu window.
Activity
claude commentedon Nov 27, 2026
🤖 Plan:
pop_comments.pypop_comments(none)Not actionable yet, no PR opened. The issue has the
laterlabel, and its next step says it waits for Arno's comments on the Edit menu Word file. There is no agreed definition of done for F9 or F22. Once Arno says which fixes to make, please removelaterand confirm:com = ''), or write the history line with the original line breaks? And is the expectedconcatoutput the line-for-line EEGLAB char-matrix join from N69/N70 (numerical/results.mdon jamming)?plottitleargument (EEGLAB'sfigname) instead of the fixedRead/Enter text -- pop_comments()? Which EEGLAB capture is the reference for the pale background and button size?Where to look in the code
pop_comments.py#L36-L52: the GUI path always builds a history command, even when the text is unchanged (F9)pop_comments.py#L88-L99: turns comments into text. A char matrix comes in as rows and is joined with\n. The 21→6 reflow likely comes from the QTextEdit round trip or from loading, which needs the jamming dataset to checkpop_comments.py#L102-L107: theconcatjoin (strips and adds a single\n), which is where it can differ from EEGLAB'sstrvcatbehaviorpop_comments.py#L61-L85: the dialog spec. The title is hard-coded at L69, whiledisplay_titleis only passed toknown_differences(F22)Likely fix (after confirmation): skip the history entry when the edited text equals
old_text, keep the original line splits when converting to text and back, match EEGLAB's char-matrixconcat, and take the window title fromplottitle. Each finding is a change under 100 lines, but F9 needs the N68–N70 fixtures from jamming for a regression test.arnodelorme commentedon Dec 1, 2026
🤖 The new native capture on jamming and the resizable comments-window fix are tracked in #925. The November 30 order on #875 includes this Edit menu window.