Skip to content

Commit

Permalink
ncbo#11 consider more REL and RELA dockeys
Browse files Browse the repository at this point in the history
  • Loading branch information
msalvadores committed Aug 11, 2014
1 parent d602fa8 commit e20f2e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion umls2rdf.py
Original file line number Diff line number Diff line change
@@ -382,7 +382,7 @@ def toRDF(self,dockey,desc,fmt="Turtle"):
if not fmt == "Turtle":
raise AttributeError, "Only fmt='Turtle' is currently supported"
_type = ""
if "REL" in _type:
if "REL" in dockey:
_type = "ObjectProperty"
elif dockey == "ATN":
_type = "DatatypeProperty"

0 comments on commit e20f2e9

Please sign in to comment.