@@ -9,7 +9,7 @@ SubjectFolders:
99 There are no subject directories (labeled "sub-*") in the root of this dataset.
1010 level : error
1111 selectors :
12- - path == 'dataset_description.json'
12+ - path == '/ dataset_description.json'
1313 checks :
1414 - length(dataset.subjects.sub_dirs) > 0
1515
@@ -22,7 +22,7 @@ ParticipantIDMismtach:
2222 found in the participants.tsv file.
2323 level : error
2424 selectors :
25- - path == 'participants.tsv'
25+ - path == '/ participants.tsv'
2626 checks :
2727 - sorted(columns.participant_label) == sorted(dataset.subjects.sub_dirs)
2828
@@ -34,7 +34,7 @@ PhenotypeSubjectsMissing:
3434 A phenotype/ .tsv file lists subjects that were not found in the dataset.
3535 level : error
3636 selectors :
37- - path == 'dataset_description.json'
37+ - path == '/ dataset_description.json'
3838 checks :
3939 - sorted(dataset.subjects.phenotype) == sorted(dataset.subjects.sub_dirs)
4040
@@ -47,7 +47,7 @@ SamplesTSVMissing:
4747 See 'Modality agnostic files' section of the BIDS specification.
4848 level : error
4949 selectors :
50- - path == 'dataset_description.json'
50+ - path == '/ dataset_description.json'
5151 - ' "micr" in dataset.modalities'
5252 checks :
5353 - " 'samples.tsv' in dataset.files"
@@ -60,7 +60,7 @@ UnknownVersion:
6060 The BIDS Schema used for validation may be out of date.
6161 level : warning
6262 selectors :
63- - path == 'dataset_description.json'
63+ - path == '/ dataset_description.json'
6464 checks :
6565 - intersects([json.BIDSVersion], schema.meta.versions)
6666
@@ -72,7 +72,7 @@ SingleSourceAuthors:
7272 'CITATION.cff' file found. The "Authors" field of 'dataset_description.json'
7373 must be removed to avoid inconsistency.
7474 selectors :
75- - path == 'CITATION.cff'
75+ - path == '/ CITATION.cff'
7676 checks :
7777 - ' !("Authors" in dataset.dataset_description)'
7878
@@ -85,7 +85,7 @@ SingleSourceCitationFields:
8585 The "HowToAckowledge", "License", and "ReferencesAndLinks" fields of
8686 'dataset_description.json' should be removed to avoid inconsistency.
8787 selectors :
88- - path == 'CITATION.cff'
88+ - path == '/ CITATION.cff'
8989 checks :
9090 - ' !("HowToAcknowledge" in dataset.dataset_description)'
9191 - ' !("License" in dataset.dataset_description)'
0 commit comments