# HG changeset patch # User jjohnson # Date 1488480506 18000 # Node ID 123b9ca5e26a14dd29e1513add266618a0467545 # Parent 78e9570fbe08e3844b59a1583b0ba398391d5627 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/sqlite_to_tabular commit ae4f3ee9048be3ebc9fa3bc0783e73ac31082899-dirty 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)