Skip to content

[pop_firpmord] Match EEGLAB's Estimate dialog height - #893

Closed
claude[bot] wants to merge 1 commit into
developfrom
agent/20261201-fix-891
Closed

claude[bot] wants to merge 1 commit into
developfrom
agent/20261201-fix-891

Conversation

@claude

@claude claude Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

The Parks-McClellan Estimate dialog now uses the supergui layout with EEGLAB's two-row geometry instead of a fixed 560x176 size, so it opens 147 pixels tall on Linux like MATLAB and its two edit boxes line up. Order and weight computation is unchanged. Adds a Qt test of the height and alignment.

Fixes #891

🤖 Generated with Claude Code

Drop the fixed 560x176 size so the two rows give MATLAB's 147 pixel
height and aligned edit boxes.

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 43s —— View job


Code review

  • Overall assessment: Looks good. The spec change is minimal: it drops the fixed size=(560, 176) and geomvert=(1, 1) and switches to layout="supergui", so the dialog uses the same height and column positions as EEGLAB's inputgui({[1 1] [1 1]}, ...). It now matches the other supergui dialogs (pop_firws, pop_reref, pop_iclabel, …). pop_firpm's Estimate button still reaches this spec through pop_firpmord(..., gui=True) (src/eegprep/functions/guifunc/qt.py:1657). The order and weight math is unchanged, so no numbers move and no MATLAB reference run is needed.
  • Highest-risk area: Layout only. The new test in tests/test_gui_pop_firfilt.py pins the 147 px Linux height and checks that the rp and rs edit boxes line up. Its Linux-only skip follows tests/test_gui_geometry.py:169.
  • Merge recommendation: Safe to merge.

Blocking

None.

Important

None.

Nits

None.

Test gaps

None.

EEGLAB parity notes

None. Geometry ((1, 1), (1, 1)) is unchanged and still matches firfilt's pop_firpmord.m.

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

Not done: I couldn't run the new GUI test because running pytest was not permitted in this job. Posting a separate gh pr comment was also blocked, so this review is in this comment only.

@arnodelorme

Copy link
Copy Markdown
Collaborator

🤖 Consolidated the two implementations of #891 in #894. That branch includes the public-call geometry record, the jamming captures and the eight MATLAB numerical comparisons. It is stacked on #888.

@arnodelorme arnodelorme closed this Dec 1, 2026
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_firpmord (Tools > Filter the data): match the FIR order and weights dialog

1 participant