Repository navigation
pop_importbids: read event fields from visible TSV headers - #780
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 @suraj-ranganath's task in 1m 13s —— View job Code review
BlockingNone. ImportantNone. Nits
Test gapsNone. The quoted EEGLAB parity notes
Checked for correctness bugs, EEGLAB parity, data structure compatibility, changed-behavior tests, and CLAUDE.md/AGENTS.md compliance. I did not run the tests: running commands needed approval in this session. |
Part of #742. Follow-up to #720.
The event-field scan added in #720 split headers on tabs without unquoting, so a quoted
"event_code"column was offered with its quotes while the table loader calls itevent_code. It also scanned dotfiles and hidden folders, and when a dataset had only timing columns it offered an inventedvaluefield with event replacement checked.This matches EEG-BIDS
pop_importbids.m: hidden entries are skipped, header names are parsed the same way the loader parses them, and with no usable field the events box starts unchecked with a disabledn/amenu. EEG-BIDS applies the timing-column filter only on return from subfolders, so a root-level timing column can slip through there; here the filter runs at every level. That difference is documented in the help page and the BIDS guide and covered by a test.Tests: both new regression cases fail on develop and pass here;
tests/test_stream10_export_bids.py(28 passed) and the File menu import selection (3 passed); ruff and pre-commit clean.