Skip to content

Commit 0b6be0f

Browse files
committed
Fixed formating of progress percentage.
1 parent c360303 commit 0b6be0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/04_CallCodeML.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def main():
116116
).format(l, cpu))
117117
pool = Pool(processes = cpu)
118118
for i, _ in enumerate(pool.imap_unordered(func, genes), 1):
119-
sys.stderr.write("\r\t{0:%} of genes have finished".format(i/l))
119+
sys.stderr.write("\r\t{0:.1%} of genes have finished".format(i/l))
120120
pool.close()
121121
pool.join()
122122
# Remove tmp directory

0 commit comments

Comments
 (0)