Repository navigation
Phase 1: channel/montage schema + projection (#857) - #860
Merged
neuromechanist merged 1 commit intoJun 28, 2026
Merged
neuromechanist merged 1 commit into
neuromechanist merged 1 commit into
Conversation
Phase 1 of epic #854. Additive only: - migration 0054 adds n_channels (INTEGER) + electrode_system (TEXT) to datasets, with indexes for filterability. - expose both in the public list + ?mine list SELECTs. The detail endpoint already returns them via SELECT d.*. Values stay NULL until phase 2 (#858) computes them and phase 3 (#859) backfills; the website channel/montage filter reads NULL as "not classified yet". No existing column or alias changes, so no contract regression. Closes #857. Part of #854.
neuromechanist
merged commit Jun 28, 2026
1438c49
into
feature/issue-854-epic-channel-montage
1 check passed
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Additive schema + projection for the channel-count / electrode-system feature. Columns are NULL until Phase 2 computes them and Phase 3 backfills.
datasets.n_channels(INTEGER) +datasets.electrode_system(TEXT), withidx_datasets_n_channels/idx_datasets_electrode_system.?minelist SELECT (24-col)./datasets/:idreturns them viaSELECT d.*.Contract safety
Additive only — no existing column/alias/
source_typechange. NULL = "not classified yet", read correctly by the website's already-built guarded channel/montage filter.Testing
tsc --noEmitgreen; datasets route units 25 pass / 0 fail; migration SQL validated against SQLite.Closes #857. Part of epic #854.