Skip to content

[GUI] Lay out the pop_rejkurt dialog with EEGLAB's supergui - #914

Open
claude[bot] wants to merge 2 commits into
developfrom
agent/20261201-fix-906
Open

claude[bot] wants to merge 2 commits into
developfrom
agent/20261201-fix-906

Conversation

@claude

@claude claude Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

The kurtosis rejection dialog still used the Qt form layout with a fixed 600x320 size, which spread its rows and the Help, Cancel and Ok buttons apart. It now uses the supergui layout like pop_eegthresh and pop_rejspec, with the checkbox strings of pop_rejkurt.m, and record_geometry.m records its call so a MATLAB run can add it to the geometry suite.

Fixes #906

🤖 Generated with Claude Code

The kurtosis dialog used the Qt form layout with a fixed 600x320 size,
spreading rows and buttons apart. Use the supergui layout as pop_eegthresh
and pop_rejspec do, with the ' ' checkbox strings of pop_rejkurt.m.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor Author

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 Author

Claude finished @claude[bot]'s task in 52s —— View job


Code review

  • Overall assessment: Looks good. The spec now follows pop_eegthresh and pop_rejspec: it uses layout="supergui", drops the fixed size=(600, 320), writes the single-column row as ((1,),) as pop_eegthresh.py:104 does, and sets both checkbox strings to " ". The new record_geometry.m entry uses the same pattern as pop_rejspec, with icacomp=1.
  • Highest-risk area: None found. Three geometry-suite pieces still need a MATLAB run, so this PR doesn't include them: tools/gui_geometry/cases/pop_rejkurt.json, reference/pop_rejkurt.json, and a POP_DIALOGS entry in tests/test_gui_geometry.py. The PR description says this. Until that run, no geometry test checks this dialog.
  • Merge recommendation: Safe to merge.

Blocking

None.

Important

None.

Nits

None.

Test gaps

None.

EEGLAB parity notes

None.

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

Not done in this run:

  • I couldn't run tests/test_gui_rejection_dialogs.py or tests/test_gui_geometry.py because this job isn't allowed to run them.
  • The vendored EEGLAB checkout (src/eegprep/eeglab/) isn't in this job, so I couldn't open pop_rejkurt.m. The checkbox strings and geometry match the sibling dialogs that were checked against EEGLAB.

This branch has not been deployed

No deployments
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_rejkurt dialog to EEGLAB

1 participant