Skip to content

Commit 1ac57a0

Browse files
committed
Remove divergence: do alert about absent subjects in any "non-study" dataset
Well, any BIDS dataset is a "study" dataset, but there the point is that ATM for both "raw" and "derivative" types we expect to have sub- folders and that was the prior behavior, which should not be affected by this PR. This should address the review comment of @effigies https://github.com/bids-standard/bids-specification/pull/1972/files#r2142639988
1 parent e8c5d84 commit 1ac57a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/schema/rules/checks/dataset.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ SubjectFolders:
66
issue:
77
code: SUBJECT_FOLDERS
88
message: |
9-
There are no subject directories (labeled "sub-*") in the root of this raw BIDS dataset.
9+
There are no subject directories (labeled "sub-*") in the root of this BIDS dataset.
1010
level: warning
1111
selectors:
1212
- path == '/dataset_description.json'
13-
- dataset.dataset_description.DatasetType == "raw"
13+
- dataset.dataset_description.DatasetType != "study"
1414
checks:
1515
- length(dataset.subjects.sub_dirs) > 0
1616

0 commit comments

Comments
 (0)