Mercurial > repos > greg > gene_family_classifier
changeset 113:f517eb8b08de draft
Uploaded
author | greg |
---|---|
date | Mon, 27 Feb 2017 14:54:23 -0500 |
parents | 9e688af74aae |
children | 1f357ae51fc4 |
files | gene_family_classifier.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/gene_family_classifier.py Mon Feb 27 14:49:41 2017 -0500 +++ b/gene_family_classifier.py Mon Feb 27 14:54:23 2017 -0500 @@ -85,8 +85,8 @@ def write_html_output(output, title, dir): with open(output, 'w') as fh: - fh.write('<html><head><h2>%s</h2></head>\n' % title) - fh.write('<body><p/><table cellpadding="5">\n') + fh.write('<html><head><h3>%s</h3></head>\n' % title) + fh.write('<body><p/><table cellpadding="2">\n') fh.write('<tr><th>Size</th><th>Name</th></tr>\n') for fname in os.listdir(dir): try: @@ -141,7 +141,7 @@ src_hmmscan_log = os.path.join(OUTPUT_DIR, 'hmmscan.log') if os.path.exists(src_hmmscan_log): if args.save_hmmscan_log is None: - os.remove(args.hmmscan_log) + os.remove(src_hmmscan_log) else: shutil.move(src_hmmscan_log, args.hmmscan_log) # Handle orthogroups outputs.