File tree Expand file tree Collapse file tree 2 files changed +53
-5
lines changed Expand file tree Collapse file tree 2 files changed +53
-5
lines changed Original file line number Diff line number Diff line change 1+ <!--
2+ A new scriv changelog fragment.
3+
4+ Uncomment the section that is right (remove the HTML comment wrapper).
5+ -->
6+
7+ <!--
8+ ### Added
9+
10+ - A bullet item for the Added category.
11+
12+ -->
13+ <!--
14+ ### Changed
15+
16+ - A bullet item for the Changed category.
17+
18+ -->
19+
20+ ### Fixed
21+
22+ - Subject detection in ` participants.tsv ` and ` phenotype/ ` directories
23+ has been restored, enabling checks that were deactivated by the missing
24+ data. ([ #162 ] )
25+
26+ [ #162 ] : https://github.com/bids-standard/bids-validator/pull/162
27+
28+ <!--
29+ ### Deprecated
30+
31+ - A bullet item for the Deprecated category.
32+
33+ -->
34+ <!--
35+ ### Removed
36+
37+ - A bullet item for the Removed category.
38+
39+ -->
40+ <!--
41+ ### Security
42+
43+ - A bullet item for the Security category.
44+
45+ -->
46+ <!--
47+ ### Infrastructure
48+
49+ - A bullet item for the Infrastructure category.
50+
51+ -->
Original file line number Diff line number Diff line change @@ -63,11 +63,8 @@ export class BIDSContextDataset implements Dataset {
6363 ?. filter ( ( ext ) => ext . endsWith ( '/' ) )
6464 : [ ] ,
6565 )
66- this . subjects = args . subjects || {
67- sub_dirs : this . tree . directories . map ( ( dir ) => dir . name ) . filter ( ( dir ) =>
68- dir . startsWith ( 'sub-' )
69- ) ,
70- }
66+ // @ts -ignore
67+ this . subjects = args . subjects || null
7168 }
7269
7370 get dataset_description ( ) : Record < string , unknown > {
You can’t perform that action at this time.
0 commit comments