Skip to content

[GUI] Match the pop_viewprops prompt to its recorded layout - #989

Merged
arnodelorme merged 3 commits into
developfrom
agent/issue-961-viewprops
Dec 1, 2026
Merged

arnodelorme merged 3 commits into
developfrom
agent/issue-961-viewprops

Conversation

@arnodelorme

@arnodelorme arnodelorme commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

The channel and component overview dialogs fit their settings to four rows. A classified dataset gets the native fifth classifier row. The maximum measured vertical control error is 0.65 pixels on jamming. This PR stacks on #986.

pop_viewprops.channel-triptych

pop_viewprops.epoched-triptych

pop_viewprops.labeled-triptych

distances

The requested channel or component identifiers were all available in each of the three submitted views. The marks below compare those identifier-presence vectors.

Native captures and verification

The capture guard checked the EEGLAB and EEGPrep revisions and the imported Python package. The MATLAB R2025b measurements ran independently of the Python test runner. Focused tests on jamming reported 167 passed in 0.84s.

Fixes #961. Part of #875.

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


Code review

What I checked

  • src/eegprep/plugins/ICLabel/pop_viewprops.py, pop_viewprops_dialog_spec:
    • The three settings rows now use a (2, 1) geometry instead of (1.3, 1).
    • The checkbox label now has a leading space.
    • The fixed size=(600, 318|288) is gone, and the dialog uses layout="supergui".
    • All three changes match the MATLAB-recorded cases in tools/gui_geometry/cases/pop_viewprops.{channel,epoched,labeled}.json at EEGLAB commit 5e0be870.
    • The same pattern is used by pop_prop_extended, pop_icflag and the other supergui dialogs.
  • Classifier row: a channel dialog never gets one. A labeled component dataset gets a fifth (1,) popup row, which matches pop_viewprops.labeled.json.
  • Tags and return values: the chanorcomp, spec_opt, erp_opt, scroll_event and classifier_name tags are unchanged, so the dialog result parsing and the history commands are unaffected. Existing tests rely on those commands in tests/test_gui_rejection_dialogs.py:238 and tests/test_rejection_workflows.py:818. No test asserts the old checkbox text.
  • Test wiring: the POP_DIALOGS entries in tests/test_gui_geometry.py match the typecomp arguments in record_geometry.m: 0 for epoched, 1 for channel, and 0 with EEGclassified for labeled.
  • Docs: the ica_and_components.rst note describes the prompt as users see it.

Blocking

None.

Important

None.

Nits

None.

Test gaps

None. The three geometry cases cover the channel, component and classifier-row variants.

EEGLAB parity notes

None. pop_viewprops.m isn't vendored in this checkout. I treated the MATLAB-recorded case JSONs as the reference.

I couldn't run the focused tests (tests/test_gui_geometry.py, tests/test_gui_rejection_dialogs.py) because this job doesn't have permission to run pytest. The PR description reports 167 passing.

Checked for correctness bugs, EEGLAB parity, data structure compatibility, changed-behavior tests, and CLAUDE.md/AGENTS.md compliance.

@arnodelorme
arnodelorme changed the base branch from agent/issue-960-prop_extended to develop December 1, 2026 04:30
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.

[GUI] Match the pop_viewprops dialog to EEGLAB

1 participant