Skip to content

Commit

Permalink
Fix issue #163. Also added pipenv files and fixed make file bug
Browse files Browse the repository at this point in the history
  • Loading branch information
hsolbrig committed Nov 5, 2018
1 parent 1af37a5 commit 52d9a1d
Show file tree
Hide file tree
Showing 200 changed files with 1,983 additions and 2,221 deletions.
6 changes: 3 additions & 3 deletions Makefile
Expand Up @@ -6,7 +6,7 @@
# 1) make imgflags="-i" -- generate uml images in images subdirectory (default)
# 2) make imgflags="-i --noimages" -- assume uml images already exist and generate links to them
# 3) make imgflags="" -- genrate uml images as inline url's
imgflags?=-i --noimages
imgflags?=-i --noimages


# ----------------------------------------
Expand Down Expand Up @@ -181,8 +181,8 @@ MM = metamodel/metamodel.py
BMM = biolinkmodel/datamodel.py

regen-mm:
gen-py-classes meta.yaml > tmp.py && python tmp.py && (comparefiles typ.py $(MM) && cp $(MM) $(MM)-PREV && cp tmp.py $(MM)); rm tmp.py
gen-py-classes biolink-model.yaml > tmp.py && python tmp.py && c&& (comparefiles typ.py $(BMM) && cp $(BMM) $(BMM)-PREV && cp tmp.py $(BMM)); rm tmp.py
gen-py-classes meta.yaml > tmp.py && python tmp.py && (comparefiles tmp.py $(MM) && cp $(MM) $(MM)-PREV && cp tmp.py $(MM)); rm tmp.py
gen-py-classes biolink-model.yaml > tmp.py && python tmp.py && (comparefiles tmp.py $(BMM) && cp $(BMM) $(BMM)-PREV && cp tmp.py $(BMM)); rm tmp.py

# ----------------------------------------
# TESTS
Expand Down
24 changes: 24 additions & 0 deletions Pipfile
@@ -0,0 +1,24 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
rdflib = ">=4.2.2"
graphviz = ">=0.9"
prefixcommons = ">=0.1.7"
click = ">=7.0"
jsonasobj = ">=1.2.1"
jsonschema = ">=2.6.0"
rdflib-jsonld = ">=0.4.0"
certifi = ">=2018.4.16"
PyYAML = ">=3.13"
ShExJSG = ">=0.5.6"
CFGraph = ">=0.2.0"
PyShEx = ">=0.5.11"
biolinkmg = {editable = true, path = "."}

[dev-packages]

[requires]
python_version = "3.7"
238 changes: 238 additions & 0 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions biolink-model.yaml
Expand Up @@ -1142,8 +1142,6 @@ slots:
description: >-
A grouping for any property that holds between a node and a value
domain: named thing
mappings:
- owl:topAnnotationProperty

id:
is_a: node property
Expand Down

0 comments on commit 52d9a1d

Please sign in to comment.