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