Repository 'sqlite_to_tabular'
hg clone https://toolshed.g2.bx.psu.edu/repos/jjohnson/sqlite_to_tabular

Changeset 2:123b9ca5e26a (2017-03-02)
Previous changeset 1:78e9570fbe08 (2016-11-23)
Commit message:
planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/sqlite_to_tabular commit ae4f3ee9048be3ebc9fa3bc0783e73ac31082899-dirty
modified:
sqlite_to_tabular.py
b
diff -r 78e9570fbe08 -r 123b9ca5e26a sqlite_to_tabular.py
--- a/sqlite_to_tabular.py Wed Nov 23 12:07:26 2016 -0500
+++ b/sqlite_to_tabular.py Thu Mar 02 13:48:26 2017 -0500
[
@@ -77,7 +77,7 @@
         if not options.no_header:
             outputFile.write("#%s\n" % '\t'.join([str(col[0]) for col in cur.description]))
         for i, row in enumerate(results):
-            outputFile.write("%s\n" % '\t'.join([str(val) for val in row]))
+            outputFile.write("%s\n" % '\t'.join([str(val) if val is not None else '' for val in row]))
     except Exception, exc:
         print >> sys.stderr, "Error: %s" % exc
         exit(1)