Skip to content

Commit

Permalink
Merge pull request ncbo#13 from sifrproject/change_umls_base_uri
Browse files Browse the repository at this point in the history
Choosing the base URI of UMLS Semantic Types
  • Loading branch information
msalvadores committed Apr 13, 2015
2 parents 0d2bc75 + 4463f25 commit ce50db9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions conf_sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@

UMLS_VERSION = "2011ab"

UMLS_BASE_URI = "http://purl.bioontology.org/ontology/"
2 changes: 1 addition & 1 deletion umls2rdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
MRSAB_LAT = 19

def get_umls_url(code):
return "http://purl.bioontology.org/ontology/%s/"%code
return "%s%s/"%(conf.UMLS_BASE_URI,code)

def flatten(matrix):
return reduce(lambda x,y: x+y,matrix)
Expand Down

0 comments on commit ce50db9

Please sign in to comment.