Skip to content

[GUI] Match the Dataset info dialog to EEGLAB - #908

Merged
arnodelorme merged 1 commit into
developfrom
agent/issue-723-dialog
Dec 1, 2026
Merged

arnodelorme merged 1 commit into
developfrom
agent/issue-723-dialog

Conversation

@arnodelorme

@arnodelorme arnodelorme commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

The Dataset info dialog now opens at MATLAB’s 432-pixel height on jamming (previously 465 pixels). Base is #904.

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.61 px. The MATLAB and updated Qt widths were 1087 and 1095 pixels. Numerical distances for eeg samples after metadata editing were Continuous (0); Epoched (0). Tested EEGPrep 062023fe on clean jamming checkouts, against EEGLAB 5e0be870.

Part of #875.

Fixes #909.

Full inventory report for the project team. pop_editset (p. 7). 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 49s —— View job


Code review

  • Overall assessment: Looks good. This PR only changes the GUI layout. It doesn't touch any numerical code, so no MATLAB reference run is needed.
  • Highest-risk area: Removing the sphere Browse button from pop_editset_dialog_spec.
  • Merge recommendation: Safe to merge.

Blocking

None.

Important

None.

Nits

None.

Test gaps

None. The pop_editset and pop_editset.continuous geometry cases are now part of the MATLAB position comparison in tests/test_gui_geometry.py. The new pushbutton branch in _described applies button_text the same way supergui does. The help text still covers this, because a file path typed in the sphere field still loads the file.

EEGLAB parity notes

None. I checked the changes against the recorded MATLAB reference (tools/gui_geometry/reference/pop_editset.json):

  • MATLAB shows only two Browse buttons, one for channel locations and one for ICA weights. The sphere row has a label, a "From other dataset" button, and an edit field. That matches the new spacer in place of the removed _browse_button.
  • The note text in MATLAB starts with a space, so the added leading space in " Note: ..." is correct.
  • Switching to layout="supergui" with (1,) rows replaces the fixed 701×389 size, the custom margins and the 10 px stylesheet. That lets the shared supergui sizing set the dialog size, so this dialog no longer needs its own size and style overrides.

What I checked: correctness, EEGLAB parity against the recorded MATLAB uilist and positions, data structure compatibility, tests for the changed behavior, and AGENTS.md compliance. I could not run pytest in this job because the command needed approval, so I didn't execute the geometry tests myself.

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_editset: verify the Linux Dataset info dialog against the public EEGLAB call

1 participant