projects
/
htsworkflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c967fb6
)
Make a validation error message between different ages of librdf.
author
Diane Trout
<diane@caltech.edu>
Thu, 20 Sep 2012 21:35:51 +0000
(14:35 -0700)
committer
Diane Trout
<diane@caltech.edu>
Thu, 20 Sep 2012 21:35:51 +0000
(14:35 -0700)
result.uri vs result again.
htsworkflow/util/rdfinfer.py
patch
|
blob
|
history
diff --git
a/htsworkflow/util/rdfinfer.py
b/htsworkflow/util/rdfinfer.py
index 92564a0d80b25b684ad54d31226776ae1eeebd00..b36fe6293883a394ada8f005b37d78503acd79e2 100644
(file)
--- a/
htsworkflow/util/rdfinfer.py
+++ b/
htsworkflow/util/rdfinfer.py
@@
-143,7
+143,7
@@
class Infer(object):
query = RDF.SPARQLQuery(body)
errmsg = "Missing type for: {0}"
for r in query.execute(self.model):
- yield errmsg.format(str(r['subject']))
+ yield errmsg.format(str(r['subject']
.uri
))
def _validate_undefined_properties(self):
"""Find properties that aren't defined.