Skip to content

Commit 4d6fb77

Browse files
authored
Merge pull request #161 from biolink/biolink-4.1.4
updating biolink 4.1.4
2 parents 8a8ce0d + 57f3eb1 commit 4d6fb77

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

bmt/toolkit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
Url = str
2222
Path = str
2323

24-
LATEST_BIOLINK_RELEASE = "4.0.0"
24+
LATEST_BIOLINK_RELEASE = "4.1.4"
2525

2626
REMOTE_PATH = f"https://raw.githubusercontent.com/biolink/biolink-model/v{LATEST_BIOLINK_RELEASE}/biolink-model.yaml"
2727
PREDICATE_MAP = f"https://raw.githubusercontent.com/biolink/biolink-model/v{LATEST_BIOLINK_RELEASE}/predicate_mapping.yaml"

tests/unit/test_toolkit.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -663,8 +663,7 @@ def test_is_mixin(toolkit):
663663

664664

665665
def test_is_translator_canonical_predicate(toolkit):
666-
assert toolkit.is_translator_canonical_predicate("treats")
667-
assert not toolkit.is_translator_canonical_predicate("treated by")
666+
assert toolkit.is_translator_canonical_predicate("studied to treat")
668667
assert not toolkit.is_translator_canonical_predicate("this_does_not_exist")
669668
assert not toolkit.is_translator_canonical_predicate("completed by")
670669
assert toolkit.is_translator_canonical_predicate("regulates")
@@ -952,7 +951,6 @@ def test_mapping(toolkit):
952951

953952

954953
def test_get_slot_domain(toolkit):
955-
assert NAMED_THING in toolkit.get_slot_domain("ameliorates")
956954
assert "biological process" in toolkit.get_slot_domain(ENABLED_BY)
957955
assert "biological process or activity" in toolkit.get_slot_domain(ENABLED_BY)
958956
assert "pathway" in toolkit.get_slot_domain(

0 commit comments

Comments
 (0)