We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2898cac commit 174a35aCopy full SHA for 174a35a
src/schema/rules/checks/dataset.yaml
@@ -14,6 +14,18 @@ SubjectFolders:
14
checks:
15
- length(dataset.subjects.sub_dirs) > 0
16
17
+NoSubjectFolders:
18
+ issue:
19
+ code: NOSUBJECT_FOLDERS
20
+ message: |
21
+ There must be no subject directories (labeled "sub-*") in the root of the "project" type BIDS dataset.
22
+ level: error
23
+ selectors:
24
+ - path == '/dataset_description.json'
25
+ - dataset.dataset_description.DatasetType == "project"
26
+ checks:
27
+ - length(dataset.subjects.sub_dirs) == 0
28
+
29
# 49
30
ParticipantIDMismatch:
31
issue:
0 commit comments