Repository navigation
[GUI] Read the EGI segment range and montage choices from the RAW header - #1021
arnodelorme wants to merge 4 commits into
Conversation
|
🤖 Review before taking this out of draft. State. The updated parent (#997) is merged in ( What I checked against Finding that matters for the merge. This pull request is not only a form. It changes Verdict: ready for review, not ready to merge before that run. |
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 31s —— View job Code review
BlockingNone. Important
NitsNone. Test gaps
EEGLAB parity notes
Two inline comments with suggestions are posted on the PR. I could not post the separate |
| eeglab_source="functions/popfunc/pop_readegi.m", | ||
| layout="supergui", | ||
| geometry=((2, 1), (2, 1), (1,), (1,)), | ||
| geomvert=(1, 1, 1.5, 3), |
There was a problem hiding this comment.
Important: the last line of the note is clipped. In the "EEGPrep after" screenshot, "The listed channel location files are included with EEGPrep." is cut off at the bottom of the note row. The text has 5 lines, but with Qt's line spacing a height of 3 does not hold them, even though it does in EEGLAB. Fix: make the row taller, or shorten the note to 4 lines. Then capture the dialog again.
| geomvert=(1, 1, 1.5, 3), | |
| geomvert=(1, 1, 1.5, 3.5), |
| @@ -1,3 +1,5 @@ | |||
| # POP_READEGI - Import EGI Simple Binary | |||
|
|
|||
| `pop_readegi(filename)` reads continuous or segmented EGI `.raw` files. Use `gui=True` for 1-based frame/segment selection, a forced file version, and channel-location selection (`auto`, a file path, or blank). `return_com=True` returns the dataset and command. Cancel returns an empty command. | |||
There was a problem hiding this comment.
Important: this sentence no longer matches the GUI. The dialog has no force-version field. Channel locations are now a montage list, not auto/path/blank. The dialog does not open at all for continuous files. The new paragraph below contradicts this line. Fix: describe only the scripted arguments here and leave the GUI description to the new paragraph.
| `pop_readegi(filename)` reads continuous or segmented EGI `.raw` files. Use `gui=True` for 1-based frame/segment selection, a forced file version, and channel-location selection (`auto`, a file path, or blank). `return_com=True` returns the dataset and command. Cancel returns an empty command. | |
| `pop_readegi(filename)` reads continuous or segmented EGI `.raw` files. `datachunks` takes 1-based frame/segment numbers, `forceversion` overrides the header version, and `fileloc` takes `auto`, a montage file, or blank. `return_com=True` returns the dataset and command. Cancel returns an empty command. |
Continuous RAW recordings open directly. For segmented recordings, the dialog gives the available frame range and lists the montage for the channel count first. The packaged fiducial and sensor coordinates for GSN129.sfp and GSN-HydroCel-257.sfp are available to the standalone reader. Stacked on #997 (
agent/issue-875-file-exportbids).Measurements and verification
Native client geometry on jamming was 793.2 × 311.1 px in MATLAB, 606 × 172 before and 750 × 315 after. Screenshots use each toolkit’s captured frame. Three selections from TESTEGI.RAW covered the first frame, first two and final two frames. EEG samples and event latencies matched exactly across all three scripted reads. Native MATLAB raises an undefined promptstr error after its segmented form, so this numerical comparison used public scripted inputs with no montage. The native window was captured before dismissal. The Qt tests also covered selecting a montage and replaying the resulting command. The focused File menu run passed 55 tests (three deselected). Both source trees passed the capture safeguards.
Closes #1022. Part of #875.
Full inventory report for the project team. pop_readegi (p. 25). PDF · Editable Word.