Skip to content

Commit

Permalink
Merge branch 'latest' of https://github.com/sourmash-bio/sourmash int…
Browse files Browse the repository at this point in the history
…o update/counter_gather
  • Loading branch information
ctb committed Jul 16, 2022
2 parents 889e731 + 0bc9dbd commit b5e497d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/sourmash/index/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def peek(self, query_mh, *, threshold_bp=0):
This is implemented for situations where we don't want to use
'prefetch' functionality. It is a light wrapper around the
'best_containment(...)'.
'best_containment(...)' method.
"""
from sourmash import SourmashSignature

Expand Down Expand Up @@ -697,7 +697,7 @@ class CounterGather:
other implementations are possible ;).
"""
def __init__(self, query):
"Constructor - takes a query FracMinHash."
"Constructor - takes a query SourmashSignature."
query_mh = query.minhash
if not query_mh.scaled:
raise ValueError('gather requires scaled signatures')
Expand Down
2 changes: 1 addition & 1 deletion tests/test_index_protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ class CounterGather_LinearIndex:
protocol testing purposes.
"""
def __init__(self, orig_query):
"Constructor - take a FracMinHash that is the original query."
"Constructor - take a SourmashSignature that is the original query."
orig_query_mh = orig_query.minhash
if orig_query_mh.scaled == 0:
raise ValueError
Expand Down

0 comments on commit b5e497d

Please sign in to comment.