Add ability to refresh library data from our htsw server
[htsworkflow.git] / htsworkflow / util / rdfhelp.py
index 3dd199fc2f5eef96b964aadec2a3df77721527c2..1f9ec6179f2f933d1b52a1afefd7cdbe2e873537 100644 (file)
@@ -101,6 +101,8 @@ def fromTypedNode(node):
             return False
         else:
             raise ValueError("Unrecognized boolean %s" % (literal,))
+    elif value_type == 'integer':
+        return int(literal)
     elif value_type == 'decimal' and literal.find('.') == -1:
         return int(literal)
     elif value_type in ('decimal', 'float', 'double'):