Mercurial > repos > greg > gene_family_phylogeny_builder
changeset 32:ae78488e9793 draft
Uploaded
author | greg |
---|---|
date | Mon, 15 May 2017 08:28:22 -0400 |
parents | a456fb4d1d44 |
children | ea2be77b575c |
files | utils.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/utils.py Fri May 12 14:18:37 2017 -0400 +++ b/utils.py Mon May 15 08:28:22 2017 -0400 @@ -56,7 +56,7 @@ def write_html_output(output, title, dir): with open(output, 'w') as fh: - fh.write('<html><head><h3>%s</h3></head>\n' % title) + fh.write('<html><head><h3>%s: %d files</h3></head>\n' % (title, len(os.listdir(dir)))) fh.write('<body><p/><table cellpadding="2">\n') fh.write('<tr><th>Size</th><th>Name</th></tr>\n') for index, fname in enumerate(sorted(os.listdir(dir))):