changeset 6:a579eb280308 draft default tip

Python script modified to render TSV results properly
author mikel-egana-aranguren <mikel.egana.aranguren@gmail.com>
date Fri, 07 Nov 2014 15:56:43 +0100
parents a0bb4dafb64b
children
files galaxy-dist/tools/sparql_galaxy/sparql.py
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/galaxy-dist/tools/sparql_galaxy/sparql.py	Tue Apr 29 09:35:31 2014 +0200
+++ b/galaxy-dist/tools/sparql_galaxy/sparql.py	Fri Nov 07 15:56:43 2014 +0100
@@ -39,6 +39,9 @@
         for value in binding.values():  
             if isinstance(value, rdflib.term.URIRef):
                 print value + "\t",
+	    else:
+		print value + "\t",	
+	print "\n"
 
 if __name__ == "__main__":
-    main(sys.argv)
\ No newline at end of file
+    main(sys.argv)