File tree Expand file tree Collapse file tree 3 files changed +21
-28
lines changed Expand file tree Collapse file tree 3 files changed +21
-28
lines changed Original file line number Diff line number Diff line change @@ -80,11 +80,6 @@ properties:
80
80
type : array
81
81
items :
82
82
type : string
83
- phenotype :
84
- description : ' The union of participant_id columns in phenotype files'
85
- type : array
86
- items :
87
- type : string
88
83
subject :
89
84
description : ' Properties and contents of the current subject'
90
85
type : object
@@ -109,11 +104,6 @@ properties:
109
104
type : array
110
105
items :
111
106
type : string
112
- phenotype :
113
- description : ' The union of session_id columns in phenotype files'
114
- type : array
115
- items :
116
- type : string
117
107
118
108
# Properties of the current file
119
109
path :
Original file line number Diff line number Diff line change @@ -30,24 +30,6 @@ ParticipantIDMismatch:
30
30
sorted(dataset.subjects.sub_dirs)
31
31
)
32
32
33
- # 51
34
- PhenotypeSubjectsMissing :
35
- issue :
36
- code : PHENOTYPE_SUBJECTS_MISSING
37
- message : |
38
- A phenotype/ .tsv file lists subjects that were not found in
39
- the participant_id column found in the participants.tsv file.
40
- level : error
41
- selectors :
42
- - path == '/participants.tsv'
43
- - type(dataset.subjects.phenotype) != 'null'
44
- checks :
45
- - |
46
- allequal(
47
- sorted(intersects(columns.participant_id, dataset.subjects.phenotype)),
48
- sorted(dataset.subjects.phenotype)
49
- )
50
-
51
33
# 214
52
34
SamplesTSVMissing :
53
35
issue :
Original file line number Diff line number Diff line change
1
+ # Rules for phenotype files
2
+ ---
3
+
4
+ # 51
5
+ PhenotypeSubjectsMissing :
6
+ issue :
7
+ code : PHENOTYPE_SUBJECTS_MISSING
8
+ message : |
9
+ A phenotype/ .tsv file lists subjects that were not found in
10
+ the participant_id column found in the participants.tsv file.
11
+ level : error
12
+ selectors :
13
+ - datatype == 'phenotype'
14
+ - suffix == '.tsv'
15
+ - type(dataset.subjects.participant_id) != 'null'
16
+ checks :
17
+ - |
18
+ allequal(
19
+ sorted(intersects(columns.participant_id, dataset.subjects.participant_id)),
20
+ sorted(dataset.subjects.participant_id)
21
+ )
You can’t perform that action at this time.
0 commit comments