From bd6ee0eca6c80db650d32988ad9de7ed2d3a96cb Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Tue, 20 Aug 2024 16:40:44 -0400 Subject: [PATCH] feat(schema): Add associations rule for electrodes --- src/schema/meta/associations.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/schema/meta/associations.yaml b/src/schema/meta/associations.yaml index 503fa728c1..ee2320585e 100644 --- a/src/schema/meta/associations.yaml +++ b/src/schema/meta/associations.yaml @@ -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'])