Skip to content

Commit

Permalink
Bugfix: progress meter
Browse files Browse the repository at this point in the history
  • Loading branch information
verheytb committed May 31, 2018
1 parent 0a4df89 commit d3330b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlstools/reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -2371,7 +2371,7 @@ def aa_positions(data, reportdir, database):

P = multiprocessing.Pool(multiprocessing.cpu_count())
arg_generator = ((read, methods, coords, reference) for read in read_subset)
for x, results in enumerate(P.imap_unordered(al.get_aa_frequencies, arg_generator)):
for x, results in enumerate(P.imap_unordered(al.get_aa_frequencies, arg_generator), 1):
for method, vector in results.items():
counts[method] += vector
ut.tprint("Computing protein alignments: %d of %d reads completed." % (x, num_reads), ontop=True)
Expand Down

0 comments on commit d3330b1

Please sign in to comment.