Repository navigation
[pop_rejtrend] Show the slope unit of the data in the dialog - #1060
arnodelorme wants to merge 2 commits into
Conversation
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 54s —— View job Code review
BlockingNone. ImportantNone. Nits
Test gapsNone. EEGLAB parity notes
Checked for correctness bugs, EEGLAB parity, data structure compatibility, changed-behavior tests, and CLAUDE.md/AGENTS.md compliance. --- · Branch: |
| The dialog label follows EEGLAB's wording, which swaps the two | ||
| (`std. dev./epoch` for channel data and `uV/epoch` for components). | ||
| The dialog label shows `uV/epoch` for channel data and `std. dev./epoch` for | ||
| components. EEGLAB showed the two labels swapped before its fix of December 2026. |
There was a problem hiding this comment.
Nit: sccn/eeglab#1009 is still open and unmerged, so EEGLAB has not fixed this yet. Released EEGLAB still shows the swapped labels, which makes this packaged help sentence untrue for users today. The changelog's "the same fix is proposed" is accurate. Make this sentence match it, and update the help once #1009 merges.
| components. EEGLAB showed the two labels swapped before its fix of December 2026. | |
| components. EEGLAB's dialog shows the two labels swapped; a fix is proposed upstream. |
The linear trend rejection dialog now labels the maximum slope with the unit of the data:
uV/epochfor channel data andstd. dev./epochfor components. The two units were swapped, as in EEGLAB, which is corrected by sccn/eeglab#1009 (merged on December 1, 2026). Arno chose this on December 1, 2026. No processing changes.Drawn on jamming on December 1, 2026 from EEGLAB
5e0be870(before its fix), EEGPrep develop068ad174and this branch at5636f291. The window width follows the longest text, as insupergui.m, so the two modes exchange their widths (727 and 649 pixels) with their labels. Heights and rows do not change.Change and tests
src/eegprep/functions/popfunc/pop_rejtrend.py: the two labels exchanged.pop_rejmenualready showed the right units.src/eegprep/resources/help/pop_rejtrend.md: the sentence that said the label follows EEGLAB's swapped wording now gives the units shown.tools/gui_geometry/casesandreference: pop_rejtrend: show uV/epoch for channel data, std. dev./epoch for components eeglab#1009 is merged (EEGLAB3dd650cc), so the two cases ofpop_rejtrendare recorded and drawn again from the corrected EEGLAB on jamming.tests/test_gui_geometry.pycompares them with no exception.tests/test_stream6_rejection_numbers.py: expects the corrected labels.Both tests failed before the code change. On the Mac, the two test files give 247 passed and 85 skipped at
c8155b64(the skipped ones need Linux). On GitHub the test jobs fail only on the three tests that already fail on develop (repaired by #1062)../pre-commit.pypasses.Part of #910