Skip to content

Commit

Permalink
Fixed formating of progress percentage.
Browse files Browse the repository at this point in the history
  • Loading branch information
icwells committed Jun 5, 2017
1 parent c360303 commit 0b6be0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/04_CallCodeML.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def main():
).format(l, cpu))
pool = Pool(processes = cpu)
for i, _ in enumerate(pool.imap_unordered(func, genes), 1):
sys.stderr.write("\r\t{0:%} of genes have finished".format(i/l))
sys.stderr.write("\r\t{0:.1%} of genes have finished".format(i/l))
pool.close()
pool.join()
# Remove tmp directory
Expand Down

0 comments on commit 0b6be0f

Please sign in to comment.