Skip to content

[GUI] pop_rmdat: remove the extra empty row - #831

Merged
arnodelorme merged 1 commit into
developfrom
agent/issue-822
Nov 28, 2026
Merged

arnodelorme merged 1 commit into
developfrom
agent/issue-822

Conversation

@arnodelorme

Copy link
Copy Markdown
Collaborator

Let the dialog fit its two input rows. On jamming the gap between the edit fields went from 37 pixels to 6 pixels. EEGLAB shows 5 pixels.

EEGLAB in MATLAB on Linux (jamming)

EEGLAB in MATLAB, pop_rmdat dialog

EEGPrep before on Linux (jamming)

EEGPrep before, pop_rmdat dialog

EEGPrep after on Linux (jamming)

EEGPrep after, pop_rmdat dialog

Fixes #822

@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 Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @arnodelorme's task in 35s —— View job


Code review

  • Overall assessment: Looks good. I found no problems.
  • Highest-risk area: None found.
  • Merge recommendation: Safe to merge.

Blocking

None.

Important

None.

Nits

None.

Test gaps

None. test_pop_rmdat_time_limits_sit_directly_below_event_types checks the on-screen space between the two edit fields. On the old spec that space was 37 px, which is more than half an edit field's height, so the test would have failed. On the new spec it is 6 px, so it passes.

EEGLAB parity notes

None. The two rows of the dialog are unchanged: ((2, 1, 1.2), (2, 1, 1.2)) with the same labels, controls and default values. Only the vertical spacing changed:

  • Setting size=(616, None) lets Qt fit the dialog height to its contents. pop_chanevent already does this.
  • Removing row_spacing=8 puts the rows back on the default DialogSpec.row_spacing=4.

The PR reports 6 px after the change against 5 px in EEGLAB.

What I checked:

  • pop_rmdat_dialog_spec (src/eegprep/functions/popfunc/pop_rmdat.py:51-85)
  • How the Qt renderer builds the dialog (guifunc/qt.py:195-239)
  • The qt_dialogs fixture, which skips cleanly when PySide6 is missing
  • The new docs note in preprocessing_pipeline.rst
  • AGENTS.md rules on tests and docs

I did not run the tests: permission to run uv run pytest was refused in this job.

@arnodelorme
arnodelorme merged commit 79752ee into develop Nov 28, 2026
16 checks passed
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_rmdat: remove the extra empty row between event types and time limits

1 participant