changeset 107:bdb3929a4d09 draft

Uploaded
author greg
date Mon, 27 Feb 2017 13:04:13 -0500
parents a2a3593a42d4
children 82144bc3626a
files gene_family_classifier.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gene_family_classifier.py	Mon Feb 27 13:00:25 2017 -0500
+++ b/gene_family_classifier.py	Mon Feb 27 13:04:13 2017 -0500
@@ -84,7 +84,7 @@
 
 
 def write_html_output(output, title, dir):
-    with open(output, 'wb') as fh:
+    with open(output, 'w') as fh:
         fh.write('<html><head><title>%s</title></head><body><p/><ul>\n' % title)
         for fname in os.listdir(dir):
             fh.write('<li><a href="%s">%s</a></li>\n' % (fname, fname))