Repository navigation
[GUI] Export data and ICA activity with content-sized rows - #912
arnodelorme wants to merge 3 commits into
Conversation
|
🤖 Review before taking this out of draft (first of the File chain, now on develop). State. Develop is merged in ( What I checked. The form uses the supergui layout with the column shares of #717, so the check boxes and the edit boxes stay on one column. Because those shares differ from EEGLAB on purpose, the test compares the height of the form and not each control ( One point for Arno, not blocking. EEGLAB's own Verdict: ready for review. |
There was a problem hiding this comment.
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 finished @arnodelorme's task in 1m 10s —— View job Code review: PR #912
BlockingNone. ImportantNone. Nits
Test gapsNone. This intentional deviation is covered in three places:
EEGLAB parity notes
What I checked:
I could not run the tests here, because the sandbox blocked |
| from eegprep.functions.guifunc.qt import QtDialogRenderer | ||
|
|
||
| capture = _CancelledDialog() | ||
| eeg = pop_loadset(str(SAMPLE.with_name("eeglab_data.set"))) if name.endswith(".continuous") else sample_eeg |
There was a problem hiding this comment.
Nit. No FILE_DIALOG_CALLS key ends in .continuous, so this branch never runs. The new SAMPLE constant (line 86) exists only to serve it, and sample_eeg only wraps samples[0]. AGENTS.md asks for no speculative code. I suggest taking samples directly and dropping SAMPLE and sample_eeg. If a continuous File case is added later, add the branch then, as samples[1], the way test_pop_function_opens_the_dialog_eeglab_passes_to_inputgui does.
| eeg = pop_loadset(str(SAMPLE.with_name("eeglab_data.set"))) if name.endswith(".continuous") else sample_eeg | |
| eeg = samples[0] |
(also change the signature to (name, samples) and remove SAMPLE and the sample_eeg fixture)
The pop_export dialog now uses the content-driven layout. On Linux its height changed from 376 to 326 pixels. EEGLAB measured 325.93 pixels. This change stacks on #896 (
agent/issue-875-legacy-filter).Cause and verification
The six checkbox rows keep the shared alignment requested in #706. Three text exports of the continuous sample used two, three and four decimal places. The files were read back and compared sample by sample. 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 #913. Part of #875.
Full inventory report for the project team. pop_export (p. 19). PDF · Editable Word.