Skip to content

[GUI] Fit epoch import settings to their contents - #915

Open
arnodelorme wants to merge 2 commits into
agent/issue-875-file-exportfrom
agent/issue-875-file-importepoch
Open

arnodelorme wants to merge 2 commits into
agent/issue-875-file-exportfrom
agent/issue-875-file-importepoch

Conversation

@arnodelorme

@arnodelorme arnodelorme commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

The pop_importepoch dialog now uses the content-driven layout. On Linux its height changed from 410 to 352 pixels. EEGLAB measured 352.29 pixels. This change stacks on #912 (agent/issue-875-file-export).

MATLAB, EEGPrep before and after

Window height and numerical distances

Cause and verification

The field descriptions and duration hints remain available. The comparison imported 80 trial records at three sets of latencies, then compared all resulting event latencies. All three numerical distances were exactly zero. The new public-function regression failed before the change and passed after it. Across the five File changes, 192 focused tests passed on jamming. Both checkouts passed the capture safeguards.

Closes #916. Part of #875.

Full inventory report for the project team. pop_importepoch (p. 30). PDF · Editable Word.

@arnodelorme

Copy link
Copy Markdown
Collaborator Author

🤖 Review before taking this out of draft.

State. The updated parent (#912, with develop) is merged in (6f2e717fa). The Mac run passes and jamming passes 286 geometry tests.

What I checked. The only source change moves pop_importepoch to the supergui layout and drops the fixed 900 x 350 window. Both recorded cases (continuous and epoched) come from EEGLAB on Linux and the height of the form matches within 1 pixel. The third column keeps weight 1 instead of EEGLAB's 0.6 because the EEGPrep hints are longer, which the comment in the code says, so this case is compared on height only.

No finding. 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 only source change switches pop_importepoch_dialog_spec to layout="supergui" and drops weighted_columns, fit_weighted_labels and the fixed size=(900, 350). The geometry has 26 cells and the controls list has 26 entries, so they still line up. The new FILE_DIALOG_CALLS entries match the .continuous/.epoched dataset selection in test_public_file_dialog_matches_matlab_height. The MATLAB recorder entries use EEGcont/EEG, which record_geometry.m already defines. The case-inventory assertion (ALL_CASES + FILE_DIALOG_CALLS == cases/*.json) covers both new case files. The docs line is added in interactive_pop_workflows.rst.
  • Highest-risk area: None identified. This is a GUI-only change and does not touch numerical code.
  • Merge recommendation: Safe to merge once [GUI] Export data and ICA activity with content-sized rows #912 lands.

Blocking

None.

Important

None.

Nits

None.

Test gaps

None.

EEGLAB parity notes

None. The third column keeps weight 1 instead of EEGLAB's 0.6, and a code comment documents this. As a result the test compares only the height of this case, not control positions.

Checked for correctness bugs, EEGLAB parity, data structure compatibility, changed-behavior tests, and CLAUDE.md/AGENTS.md compliance. I did not run the tests in this job. The review was done by reading the code.

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