Mercurial > repos > peterjc > tmhmm_and_signalp
diff tools/protein_analysis/psortb.py @ 11:3d74c1176d67 draft
Uploaded minor fix
author | peterjc |
---|---|
date | Wed, 03 Apr 2013 10:47:50 -0400 |
parents | 391a142c1e60 |
children | 20139cb4c844 |
line wrap: on
line diff
--- a/tools/protein_analysis/psortb.py Wed Apr 03 10:31:27 2013 -0400 +++ b/tools/protein_analysis/psortb.py Wed Apr 03 10:47:50 2013 -0400 @@ -156,9 +156,10 @@ out_handle = open(tabular_file, "w") out_handle.write("#%s\n" % "\t".join(header)) +count = 0 for temp in temp_files: data_handle = open(temp) - count = clean_tabular(data_handle, out_handle) + count += clean_tabular(data_handle, out_handle) data_handle.close() if not count: clean_up(fasta_files + temp_files)