Skip to content

Commit

Permalink
feat(schema): Add associations rule for electrodes
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Nov 5, 2024
1 parent 5b738d2 commit bd6ee0e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/schema/meta/associations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,15 @@ channels:
extension: .tsv
inherit: true

electrodes:
selectors:
- intersects([suffix], ['eeg', 'ieeg', 'meg'])
- extension != '.json'
target:
suffix: electrodes
extension: .tsv
inherit: true

coordsystem:
selectors:
- intersects([suffix], ['eeg', 'ieeg', 'meg', 'nirs', 'motion', 'electrodes', 'optodes'])
Expand Down

0 comments on commit bd6ee0e

Please sign in to comment.