From 184d8c0494a64ddf5183deaeed3e54b47eb4fc12 Mon Sep 17 00:00:00 2001 From: Ross Blair Date: Wed, 7 Aug 2024 17:12:25 -0500 Subject: [PATCH] add non behavioral datatype assertion for warning about missing events.tsv --- src/schema/rules/checks/events.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/schema/rules/checks/events.yaml b/src/schema/rules/checks/events.yaml index a5fa9ac5fd..f1a165bc87 100644 --- a/src/schema/rules/checks/events.yaml +++ b/src/schema/rules/checks/events.yaml @@ -10,6 +10,7 @@ EventsMissing: level: warning # could be an error with the proper selectors, I think selectors: - dataset.dataset_description.DatasetType == "raw" + - datatype != "beh" - '"task" in entities' - '!match(entities.task, "rest")' - suffix != "events"