Skip to content

Commit

Permalink
update to new version of biolink-model
Browse files Browse the repository at this point in the history
  • Loading branch information
sierra-moxon committed Sep 23, 2021
1 parent 1efa0bf commit f15f944
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ MAINTAINER Deepak Unni "deepak.unni3@gmail.com"
RUN git clone https://github.com/NCATS-Tangerine/kgx

# Setup
RUN cd kgx && git checkout tags/1.5.3 && pip install -r requirements.txt && python setup.py install
RUN cd kgx && git checkout tags/1.5.4 && pip install -r requirements.txt && python setup.py install

# Make data directory
RUN mkdir data
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ def setup(app):
# built documents.
#
# The short X.Y version.
version = '1.5.3'
version = '1.5.4'
# The full version, including alpha/beta/rc tags.
release = '1.5.3'
release = '1.5.4'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion kgx/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.5.3"
__version__ = "1.5.4"
4 changes: 2 additions & 2 deletions kgx/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ logging:
format: '[%(name)s][%(filename)s][%(funcName)20s] %(levelname)s: %(message)s'

# KGX setting for the Biolink Model is now ignored; defer to the Biolink Model Toolkit default.
# biolink-model: https://raw.githubusercontent.com/biolink/biolink-model/2.2.1/biolink-model.yaml
# biolink-model: https://raw.githubusercontent.com/biolink/biolink-model/2.2.5/biolink-model.yaml

jsonld-context:
biolink: https://raw.githubusercontent.com/biolink/biolink-model/2.2.1/context.jsonld
biolink: https://raw.githubusercontent.com/biolink/biolink-model/2.2.5/context.jsonld
monarch_context: https://raw.githubusercontent.com/prefixcommons/biocontext/master/registry/monarch_context.jsonld
obo_context: https://raw.githubusercontent.com/prefixcommons/biocontext/master/registry/obo_context.jsonld
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
bmt~=0.7.4
bmt~=0.7.6
prefixcommons>=0.1.4
pip>=9.0.1
docutils==0.16.0
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
AUTHOR = 'Deepak Unni, Sierra Moxon, Richard Bruskiewich'
EMAIL = 'deepak.unni3@gmail.com, smoxon@lbl.gov, richard.bruskiewich@delphinai.com'
REQUIRES_PYTHON = '>=3.7.0'
VERSION = '1.5.3'
VERSION = '1.5.4'
LICENSE = 'BSD'

with open("requirements.txt", "r") as FH:
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@

def test_valid_biolink_version():
try:
schema = get_biolink_model_schema("2.2.1")
schema = get_biolink_model_schema("2.2.5")
except TypeError as te:
assert False, "test failure!"
assert (
schema
== "https://raw.githubusercontent.com/biolink/biolink-model/2.2.1/biolink-model.yaml"
== "https://raw.githubusercontent.com/biolink/biolink-model/2.2.5/biolink-model.yaml"
)


Expand Down

0 comments on commit f15f944

Please sign in to comment.