Skip to content

Commit 4ce9fea

Browse files
committed
schema: Improve error messages
1 parent a8de39d commit 4ce9fea

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/schema/rules/checks/dataset.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ ParticipantIDMismatch:
1818
issue:
1919
code: PARTICIPANT_ID_MISMATCH
2020
message: |
21-
Participant labels found in this dataset did not match the values in participant_id column
22-
found in the participants.tsv file.
21+
Subject directories found in this dataset did not match the values in
22+
the participant_id column found in the participants.tsv file.
2323
level: error
2424
selectors:
2525
- path == '/participants.tsv'
@@ -35,7 +35,8 @@ PhenotypeSubjectsMissing:
3535
issue:
3636
code: PHENOTYPE_SUBJECTS_MISSING
3737
message: |
38-
A phenotype/ .tsv file lists subjects that were not found in the dataset.
38+
A phenotype/ .tsv file lists subjects that were not found in
39+
the participant_id column found in the participants.tsv file.
3940
level: error
4041
selectors:
4142
- path == '/participants.tsv'

0 commit comments

Comments
 (0)