Skip to content

[GUI] Match the Copy current dataset dialog to EEGLAB - #900

Merged
arnodelorme merged 1 commit into
developfrom
agent/issue-732-edit-parity
Dec 1, 2026
Merged

arnodelorme merged 1 commit into
developfrom
agent/issue-732-edit-parity

Conversation

@arnodelorme

@arnodelorme arnodelorme commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

The Copy current dataset dialog now opens at MATLAB’s 147-pixel height on jamming (previously 176 pixels). Base is #898.

Continuous EEG

Epoched EEG

Control displacement

Numerical output distance

Verification and scope

The continuous and epoched samples matched the live MATLAB controls. The largest vertical offset was 0.40 px. The MATLAB and updated Qt widths were 278 and 279 pixels. Numerical distances for copied eeg samples were Continuous (0); Epoched (0). Tested EEGPrep e6749a84 on clean jamming checkouts, against EEGLAB 5e0be870.

Part of #875.

Fixes #901.

Full inventory report for the project team. pop_copyset (p. 6). PDF · Editable Word.

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Code review skipped — your organization has no extra usage available to pay for this review.

If your organization's extra usage balance is empty, an organization admin can add extra usage credits at claude.ai/admin-settings/usage. If its monthly spend limit was reached, an admin can raise it on the same page. If neither applies, contact Anthropic support.

Once extra usage is available, someone with write access to this repository can comment @claude review on this pull request to trigger a review.

@claude

claude Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @arnodelorme's task in 33s —— View job


Code review

  • Overall assessment: Looks good. This is a GUI-only layout change. pop_copyset_dialog_spec now uses the same layout="supergui" path as the other ported dialogs, such as pop_adjustevents, pop_reref and pop_rmbase, instead of a fixed size=(385, 160). Copy behaviour, indexing and the history command are unchanged.
  • Highest-risk area: Whether the new PUBLIC_CALLS entry in tests/test_gui_geometry.py really drives the dialog. It does. pop_copyset([eeg], 1, renderer=...) leaves set_out unset, so gui defaults to True and the spec is rendered through inputgui with the capture renderer.
  • Merge recommendation: Safe to merge.

Blocking

None.

Important

None.

Nits

  • docs/source/api/interactive_pop_workflows.rst:90: The Edit > Copy current dataset sentence sits under Event and Epoch Tables, but copying a dataset has nothing to do with event or epoch tables. Consider moving it to a dataset-management section, or opening it with a short lead-in so it doesn't read as part of the event-table guidance. This is optional.

Test gaps

None. The MATLAB case in tools/gui_geometry/cases/pop_copyset.continuous.json matches the Python spec: geometry ((1,), (1,)), the label "Index of the new dataset:", default edit value "2" for set_in=1, and helpcom=true. The reference JSON is recorded from the record_geometry.m entry added in this PR (pop_copyset(EEGcont, 1)), so the existing parametrised geometry tests now cover this dialog.

EEGLAB parity notes

None. The vendored src/eegprep/eeglab/ checkout is not in this CI workspace, so I couldn't re-read pop_copyset.m line by line. Instead I compared the changed spec with the MATLAB-recorded geometry case and reference in this PR. The title, control order, labels, default value and Help/Cancel/Ok row all match.

Checked for correctness bugs, EEGLAB parity, data structure compatibility, changed-behavior tests, and AGENTS.md compliance. The sandbox wouldn't let me run uv run pytest tests/test_gui_geometry.py -k copyset (permission denied), so I have not run the tests myself.

@arnodelorme
arnodelorme changed the base branch from agent/issue-726-edit-parity to develop December 1, 2026 04:01
@arnodelorme
arnodelorme merged commit 646ba73 into develop Dec 1, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pop_copyset: verify the Linux Copy current dataset dialog against the public EEGLAB call

1 participant