Skip to content

Commit

Permalink
woops -- only break if len(mh) == 0
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorreiter committed May 19, 2021
1 parent 4accd34 commit cc4144e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charcoal/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def gather_at_rank(mh, lca_db, lin_db, match_rank):
counts = Counter()
while 1:

if len(query_sig.minhash.get_mins()):
if len(query_sig.minhash.get_mins()) == 0:
break

results = lca_db.gather(query_sig, threshold_bp=0)
Expand Down

0 comments on commit cc4144e

Please sign in to comment.