Skip to content

Commit

Permalink
Merge pull request #161 from biolink/biolink-4.1.4
Browse files Browse the repository at this point in the history
updating biolink 4.1.4
  • Loading branch information
sierra-moxon committed Mar 1, 2024
2 parents 8a8ce0d + 57f3eb1 commit 4d6fb77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bmt/toolkit.py
Expand Up @@ -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"
Expand Down
4 changes: 1 addition & 3 deletions tests/unit/test_toolkit.py
Expand Up @@ -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")
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 4d6fb77

Please sign in to comment.