Skip to content

Commit

Permalink
Merge pull request #167 from biolink/go-site-617
Browse files Browse the repository at this point in the history
Use correct go_context jsonld file in gaf->go-cam
  • Loading branch information
cmungall committed Apr 21, 2018
2 parents 96aad76 + 7a4140a commit 3e6df08
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion notebooks/Phenotype_Enrichment.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.2"
"version": "3.6.2"
}
},
"nbformat": 4,
Expand Down
5 changes: 4 additions & 1 deletion ontobio/rdfgen/assoc_rdfgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
evt = Evidence()
upt = UpperLevel()

prefix_context = {key: value for context in curie_util.default_curie_maps + [curie_util.read_biocontext("minerva_context")] for key, value in context.items()}
# Pull the go_context file from prefixcommons.
# NOTE: this is a temporary measure. We will build the go json ld context as part of the pipeline in future
# See https://github.com/geneontology/go-site/issues/617
prefix_context = {key: value for context in curie_util.default_curie_maps + [curie_util.read_biocontext("go_context")] for key, value in context.items()}

HAS_SUPPORTING_REFERENCE = URIRef(expand_uri(evt.has_supporting_reference, cmaps=[evt._prefixmap]))

Expand Down

0 comments on commit 3e6df08

Please sign in to comment.