diff --git a/bmt/toolkit.py b/bmt/toolkit.py index 0917729..89a9142 100644 --- a/bmt/toolkit.py +++ b/bmt/toolkit.py @@ -21,7 +21,7 @@ Url = str Path = str -LATEST_BIOLINK_RELEASE = "4.0.0" +LATEST_BIOLINK_RELEASE = "4.1.4" REMOTE_PATH = f"https://raw.githubusercontent.com/biolink/biolink-model/v{LATEST_BIOLINK_RELEASE}/biolink-model.yaml" PREDICATE_MAP = f"https://raw.githubusercontent.com/biolink/biolink-model/v{LATEST_BIOLINK_RELEASE}/predicate_mapping.yaml" diff --git a/tests/unit/test_toolkit.py b/tests/unit/test_toolkit.py index 6d7104f..2ecdfdf 100644 --- a/tests/unit/test_toolkit.py +++ b/tests/unit/test_toolkit.py @@ -663,8 +663,7 @@ def test_is_mixin(toolkit): def test_is_translator_canonical_predicate(toolkit): - assert toolkit.is_translator_canonical_predicate("treats") - assert not toolkit.is_translator_canonical_predicate("treated by") + assert toolkit.is_translator_canonical_predicate("studied to treat") assert not toolkit.is_translator_canonical_predicate("this_does_not_exist") assert not toolkit.is_translator_canonical_predicate("completed by") assert toolkit.is_translator_canonical_predicate("regulates") @@ -952,7 +951,6 @@ def test_mapping(toolkit): def test_get_slot_domain(toolkit): - assert NAMED_THING in toolkit.get_slot_domain("ameliorates") assert "biological process" in toolkit.get_slot_domain(ENABLED_BY) assert "biological process or activity" in toolkit.get_slot_domain(ENABLED_BY) assert "pathway" in toolkit.get_slot_domain(