@@ -9,7 +9,7 @@ SubjectFolders:
9
9
There are no subject directories (labeled "sub-*") in the root of this dataset.
10
10
level : error
11
11
selectors :
12
- - path == 'dataset_description.json'
12
+ - path == '/ dataset_description.json'
13
13
checks :
14
14
- length(dataset.subjects.sub_dirs) > 0
15
15
@@ -22,7 +22,7 @@ ParticipantIDMismtach:
22
22
found in the participants.tsv file.
23
23
level : error
24
24
selectors :
25
- - path == 'participants.tsv'
25
+ - path == '/ participants.tsv'
26
26
checks :
27
27
- sorted(columns.participant_label) == sorted(dataset.subjects.sub_dirs)
28
28
@@ -34,7 +34,7 @@ PhenotypeSubjectsMissing:
34
34
A phenotype/ .tsv file lists subjects that were not found in the dataset.
35
35
level : error
36
36
selectors :
37
- - path == 'dataset_description.json'
37
+ - path == '/ dataset_description.json'
38
38
checks :
39
39
- sorted(dataset.subjects.phenotype) == sorted(dataset.subjects.sub_dirs)
40
40
@@ -47,7 +47,7 @@ SamplesTSVMissing:
47
47
See 'Modality agnostic files' section of the BIDS specification.
48
48
level : error
49
49
selectors :
50
- - path == 'dataset_description.json'
50
+ - path == '/ dataset_description.json'
51
51
- ' "micr" in dataset.modalities'
52
52
checks :
53
53
- " 'samples.tsv' in dataset.files"
@@ -60,7 +60,7 @@ UnknownVersion:
60
60
The BIDS Schema used for validation may be out of date.
61
61
level : warning
62
62
selectors :
63
- - path == 'dataset_description.json'
63
+ - path == '/ dataset_description.json'
64
64
checks :
65
65
- intersects([json.BIDSVersion], schema.meta.versions)
66
66
@@ -72,7 +72,7 @@ SingleSourceAuthors:
72
72
'CITATION.cff' file found. The "Authors" field of 'dataset_description.json'
73
73
must be removed to avoid inconsistency.
74
74
selectors :
75
- - path == 'CITATION.cff'
75
+ - path == '/ CITATION.cff'
76
76
checks :
77
77
- ' !("Authors" in dataset.dataset_description)'
78
78
@@ -85,7 +85,7 @@ SingleSourceCitationFields:
85
85
The "HowToAckowledge", "License", and "ReferencesAndLinks" fields of
86
86
'dataset_description.json' should be removed to avoid inconsistency.
87
87
selectors :
88
- - path == 'CITATION.cff'
88
+ - path == '/ CITATION.cff'
89
89
checks :
90
90
- ' !("HowToAcknowledge" in dataset.dataset_description)'
91
91
- ' !("License" in dataset.dataset_description)'
0 commit comments