Skip to content

[GUI] Match the pop_selectcomps prompt to its recorded layout - #979

Merged
arnodelorme merged 2 commits into
developfrom
agent/issue-956-selectcomps
Dec 1, 2026
Merged

arnodelorme merged 2 commits into
developfrom
agent/issue-956-selectcomps

Conversation

@arnodelorme

@arnodelorme arnodelorme commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

The native prompt now shows the component selection and the four lines of instructions above the action buttons. The maximum measured vertical control error is 0.28 pixels on jamming. This PR stacks on #949.

pop_selectcomps.epoched-triptych

distances

Opening the component maps preserved the same 32 preexisting rejection flags for three component selections.

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 146 passed in 0.76s.

Fixes #956. Part of #875.

Full inventory report for the project team. pop_selectcomps (p. 80). 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. The dialog spec now matches the recorded EEGLAB layout. supergui uses geometry {[1 1] 1 1} and geomvert [1 0.3 3]. The four-line note text matches the MATLAB capture line for line, once MATLAB's trailing padding is ignored.
  • Highest-risk area: Dropping help_text removes the Help button from the prompt. This is correct: the reference capture shows only Cancel and Ok, and the case records helpcom: false. qt.py:1147 only shows the button when help_text is truthy. Nothing else needed help_text here. The no-ICA test in test_stream11_help_errors.py runs before the dialog opens, and resources/help/pop_selectcomps.md is still there for pophelp.
  • Merge recommendation: Safe to merge, after the stacked base [GUI] Match the pop_subcomp window to its native rows #949.

Blocking

None.

Important

None.

Nits

None.

Test gaps

None. The new POP_DIALOGS["pop_selectcomps"] entry and the reference JSON add this prompt to the existing geometry parity test. Only the dialog layout changed, and the PR adds no other tests.

EEGLAB parity notes

None. This changes the GUI only and leaves numerical paths alone (pop_selectcomps processing, gcompreject handling and history commands are unchanged), so it does not need a MATLAB reference-suite run under AGENTS.md. Removing size=(530, 266) is consistent: the supergui layout path ignores size (spec.py:80-81).

I checked for correctness bugs, EEGLAB parity, data structure compatibility, changed-behavior tests, and CLAUDE.md/AGENTS.md compliance. I could not run the geometry test in this sandbox because running pytest needed approval. My review is based on the diff, qt.py/spec.py, and the recorded reference.

@arnodelorme
arnodelorme changed the base branch from agent/issue-936-subcomp to develop December 1, 2026 04:28
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_selectcomps dialog to EEGLAB

1 participant