Skip to content

Commit

Permalink
Fix if there are very low number of common reads
Browse files Browse the repository at this point in the history
  • Loading branch information
kashyapchhatbar committed Jul 8, 2015
2 parents 9e3e411 + d20e21f commit 820ac09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clashchimeras/find.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,9 @@ def main():
logger.info('Determining chimeras')

updateInterval = int(len(common)/100)

if updateInterval == 0:
updateInterval = 1
updateInterval = 1
pbar = Bar(width=80, max=100, fill=yellow(u"█"),
suffix="%(percent)d%% - %(eta)ds")

Expand Down

0 comments on commit 820ac09

Please sign in to comment.