Skip to content

Commit

Permalink
Merge pull request #35 from biothings/biolink-4.1.4
Browse files Browse the repository at this point in the history
Biolink 4.1.6
  • Loading branch information
tokebe authored Mar 11, 2024
2 parents ced082c + 6b32623 commit 72d7404
Show file tree
Hide file tree
Showing 3 changed files with 895 additions and 269 deletions.
16 changes: 8 additions & 8 deletions __test__/integration/class_tree.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ describe("Test BioLink Class Tree class", () => {
[
tree.objects.SmallMolecule,
tree.objects.NucleicAcidEntity,
tree.objects.Exon,
tree.objects.Transcript,
tree.objects.RnaProduct,
tree.objects.RnaProductIsoform,
tree.objects.NoncodingRnaProduct,
tree.objects.MicroRna,
tree.objects.SiRna,
tree.objects.CodingSequence
// tree.objects.Exon,
// tree.objects.Transcript,
// tree.objects.RnaProduct,
// tree.objects.RnaProductIsoform,
// tree.objects.NoncodingRnaProduct,
// tree.objects.MicroRna,
// tree.objects.SiRna,
// tree.objects.CodingSequence
]
);
expect(tree.objects.NamedThing).not.toBeUndefined;
Expand Down
6 changes: 3 additions & 3 deletions __test__/integration/slot_tree.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ describe("Test BioLink Slot Tree class", () => {
'affects_response_to',
'regulates',
'disrupts',
'ameliorates',
'exacerbates',
'ameliorates_condition',
'exacerbates_condition',
'has_adverse_event',
'has_side_effect',
]);
Expand All @@ -47,7 +47,7 @@ describe("Test BioLink Slot Tree class", () => {
test("Test non-explicit inverses are correctly inferred", () => {
tree.construct();
expect(tree.objects.treats.inverse).toEqual("treated_by");
expect(tree.objects.prevents.inverse).toEqual("prevented_by");
expect(tree.objects.preventative_for_condition.inverse).toEqual("condition_prevented_by");
expect(tree.objects.catalyzes.inverse).toEqual('has_catalyst');
})
})
Expand Down
Loading

0 comments on commit 72d7404

Please sign in to comment.