From 20b521442b97f26c95b208699d1bc1a09d64a880 Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Thu, 9 Nov 2023 20:40:07 -0500 Subject: [PATCH] FIX: NIRS channels are recommended, not required --- src/schema/rules/checks/nirs.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/schema/rules/checks/nirs.yaml b/src/schema/rules/checks/nirs.yaml index c6b8f74548..8acd3ed2fc 100644 --- a/src/schema/rules/checks/nirs.yaml +++ b/src/schema/rules/checks/nirs.yaml @@ -53,11 +53,15 @@ Component: checks: - columns.component != null -RequiredChannels: +RecommendedChannels: + issue: + code: NIRS_RECOMMENDED_CHANNELS + message: | + NIRS files SHOULD have an associated channels.tsv file. + level: warning selectors: - - datatype == "nirs" - - suffix == "optodes" - - extension == ".tsv" + - suffix == "nirs" + - extension == ".snirf" checks: - associations.channels != null