# HG changeset patch # User greg # Date 1488224687 18000 # Node ID 5f77ac9fbb46bf4d793daaf1d00c22c7af568a43 # Parent 6cb3520313b92139ccd9936f10fd37ac4dacb3b8 Uploaded diff -r 6cb3520313b9 -r 5f77ac9fbb46 gene_family_classifier.py --- a/gene_family_classifier.py Mon Feb 27 14:38:23 2017 -0500 +++ b/gene_family_classifier.py Mon Feb 27 14:44:47 2017 -0500 @@ -86,11 +86,11 @@ def write_html_output(output, title, dir): with open(output, 'w') as fh: fh.write('%s\n' % title) - fh.write('

\n') + fh.write('

\n') fh.write('\n') for fname in os.listdir(dir): try: - size = str(os.path.getsize(fname)) + size = str(os.path.getsize(os.path.join(dir, fname))) except: size = 'unknown' link = '%s\n' % (fname, fname)
SizeName