Skip to content

[GUI] Fit the ERPLAB event-list and bin controls to their contents - #954

Open
arnodelorme wants to merge 4 commits into
agent/issue-875-file-writeeegfrom
agent/issue-875-file-importerplab
Open

arnodelorme wants to merge 4 commits into
agent/issue-875-file-writeeegfrom
agent/issue-875-file-importerplab

Conversation

@arnodelorme

@arnodelorme arnodelorme commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

The two file rows, browse buttons, bin option and footer use the shared supergui geometry. Stacked on #951 (agent/issue-875-file-writeeeg).

Format or settings window, MATLAB and EEGPrep before and after

Native height differences and histogram of normalized numerical distances

Measurements and verification

Native client geometry on jamming was 580.5 × 195.9 px in MATLAB, 640 × 206 before and 584 × 196 after. Screenshots use each toolkit’s captured frame. Event indices and latencies matched exactly for three numeric event codes. The non-contrast bin and reordered-event cases also matched the MATLAB bin memberships exactly. The focused File menu run passed 246 tests (six deselected). Both source trees passed the capture safeguards.

Closes #955. Part of #875.

Full inventory report for the project team. pop_importerplab (p. 31). PDF · Editable Word.

@arnodelorme

Copy link
Copy Markdown
Collaborator Author

🤖 Review before taking this out of draft.

State. The updated parent (#951) is merged in (227846859). On the Mac 199 tests pass and jamming passes 298 geometry tests.

What I checked. pop_importerplab moves to the supergui layout without its fixed 640 x 174 window. Title, labels and column shares are those EEGLAB recorded ([2 2 0.5] twice, then two single rows).

Small remark, not blocking. Labels and shares are identical to EEGLAB here, so this case could be compared control by control (PUBLIC_CALLS) and not only on height.

Verdict: ready for review.

@arnodelorme
arnodelorme marked this pull request as ready for review December 2, 2026 05:49

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

Copy link
Copy Markdown
Contributor

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


Code review

  • Overall assessment: Looks good. The PR removes weighted_columns=True and the fixed size=(640, 174) from the pop_importerplab dialog spec and uses layout="supergui" with the same ([2, 2, 0.5], [2, 2, 0.5], 1, 1) geometry. Control order, tags (file1, file2, ncbins), the spacer and the checkbox all match the recorded EEGLAB uilist in tools/gui_geometry/cases/pop_importerplab.json.
  • Highest-risk area: None identified. The change only affects GUI layout. The callbacks, the returned values and the numerical import path do not change.
  • Merge recommendation: Safe to merge, once the parent PR [GUI] Separate the EEG export filename and format dialogs #951 has landed.

Blocking

None.

Important

None.

Nits

None.

Test gaps

None. The PR adds pop_importerplab to FILE_DIALOG_CALLS and to record_geometry.m with a matching case and reference JSON. That satisfies the inventory assertion at tests/test_gui_geometry.py:378, and test_public_file_dialog_matches_matlab_height checks the window height through the public pop_importerplab(EEG) call.

EEGLAB parity notes

The author already raised this as a non-blocking point: the title, labels and column shares match EEGLAB, so this dialog could also go through PUBLIC_CALLS. That would compare it control by control, not only on height. This is optional.

Checked for correctness bugs, EEGLAB parity, data structure compatibility, tests for the changed behavior, and CLAUDE.md/AGENTS.md compliance. I did not run the geometry tests here because the sandbox did not allow uv run pytest. I am relying on the author's results from the Mac and jamming runs.

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.

1 participant