File tree Expand file tree Collapse file tree 2 files changed +21
-18
lines changed Expand file tree Collapse file tree 2 files changed +21
-18
lines changed 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