Mercurial > repos > jjohnson > sqlite_to_tabular
changeset 2:123b9ca5e26a draft default tip
planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/sqlite_to_tabular commit ae4f3ee9048be3ebc9fa3bc0783e73ac31082899-dirty
author | jjohnson |
---|---|
date | Thu, 02 Mar 2017 13:48:26 -0500 |
parents | 78e9570fbe08 |
children | |
files | sqlite_to_tabular.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)