You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: phenopacket-tools-validator-core/src/test/java/org/phenopackets/phenopackettools/validator/core/TestData.java
Copy file name to clipboardExpand all lines: phenopacket-tools-validator-core/src/test/java/org/phenopackets/phenopackettools/validator/core/phenotype/AncestryHpoValidatorTest.java
assertThat(result.category(), equalTo("Violation of the annotation propagation rule"));
63
-
assertThat(result.message(), equalTo("Phenotypic features of example-phenopacket must not contain both an observed term (Arachnodactyly, HP:0001166) and an observed ancestor (Abnormality of finger, HP:0001167)"));
63
+
assertThat(result.message(), equalTo("Phenotypic features of example-phenopacket must not contain both an observed term (Arachnodactyly, HP:0001166) and an observed ancestor (Abnormal finger morphology, HP:0001167)"));
assertThat(result.category(), equalTo("Violation of the annotation propagation rule"));
80
-
assertThat(result.message(), equalTo("Phenotypic features of example-phenopacket must not contain both an excluded term (Abnormality of finger, HP:0001167) and an excluded child (Arachnodactyly, HP:0001166)"));
80
+
assertThat(result.message(), equalTo("Phenotypic features of example-phenopacket must not contain both an excluded term (Abnormal finger morphology, HP:0001167) and an excluded child (Arachnodactyly, HP:0001166)"));
assertThat(result.category(), equalTo("Violation of the annotation propagation rule"));
97
-
assertThat(result.message(), equalTo("Phenotypic features of example-phenopacket must not contain both an observed term (Arachnodactyly, HP:0001166) and an excluded ancestor (Abnormality of finger, HP:0001167)"));
97
+
assertThat(result.message(), equalTo("Phenotypic features of example-phenopacket must not contain both an observed term (Arachnodactyly, HP:0001166) and an excluded ancestor (Abnormal finger morphology, HP:0001167)"));
Copy file name to clipboardExpand all lines: phenopacket-tools-validator-core/src/test/java/org/phenopackets/phenopackettools/validator/core/phenotype/PrimaryHpoPhenotypeValidatorTest.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -67,8 +67,8 @@ public void testMissingTermId() throws Exception {
67
67
},
68
68
"phenotypicFeatures": [{
69
69
"type": {
70
-
"id": "HP:0001182",
71
-
"label": "Tapered finger"
70
+
"id": "HP:0000000",
71
+
"label": "Nonexistent term"
72
72
}
73
73
}, {
74
74
"type": {
@@ -85,7 +85,7 @@ public void testMissingTermId() throws Exception {
0 commit comments