Repository navigation
[EEG] Load empty text fields as empty strings in pop_loadset - #768
Conversation
A v7 .set saved with setname = '' loaded setname as a 0x0 array, so the Datasets menu (and other get(...) or default code) raised on truth testing. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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 @claude[bot]'s task in 33s —— View job Code review
BlockingNone. ImportantNone. NitsNone. Test gapsNone. EEGLAB parity notesNone. In I checked correctness, EEGLAB parity, EEG data structures, test coverage of the change, and compliance with CLAUDE.md and AGENTS.md. I could not run the new test because the runner's tool permissions blocked |
|
🤖 Review, and one commit added (058b562). The fix at the load is right and small. Issue #767 asked for two more things, which are now on this branch.
|

pop_loadset now returns setname, subject, group, condition and comments as '' when a v7 .set stores them as empty arrays, matching eeg_emptyset and the v7.3 reader. A nameless dataset made File > Load existing dataset fail while refreshing the Datasets menu, for that file and for every file loaded after it. The Datasets menu also tolerates a name that is not text, and the warning no longer blames the file read for a later failure.
Fixes #767
Part of #696