Skip to content

Commit

Permalink
Override Biolink 4.2.0 --> 4.2.1 in BiolinkHelper
Browse files Browse the repository at this point in the history
  • Loading branch information
amykglen committed Aug 23, 2024
1 parent 04933f7 commit 5c7870c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/ARAX/BiolinkHelper/biolink_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ def __init__(self, biolink_version: Optional[str] = None, is_test: bool = False)
eprint(f"{timestamp}: DEBUG: In BiolinkHelper init")

self.biolink_version = biolink_version if biolink_version else self.get_current_arax_biolink_version()
if self.biolink_version == "4.2.0":
print(f"Overriding Biolink version from 4.2.0 to 4.2.1 due to issues with treats predicates in 4.2.0")
self.biolink_version = "4.2.1"
self.root_category = "biolink:NamedThing"
self.root_predicate = "biolink:related_to"
self.root_imaginary = "ROOT"
Expand Down

0 comments on commit 5c7870c

Please sign in to comment.