Skip to content

Commit dd3764c

Browse files
committed
fix a few things, k
1 parent 145b1cb commit dd3764c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/sourmash/commands.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,7 @@ def gather(args):
942942

943943
if args.linear: # force linear traversal?
944944
databases = [LazyLinearIndex(db) for db in databases]
945-
elif 0:
945+
elif 1:
946946
# @CTB foo revindex
947947
from sourmash.index.revindex import RevIndex
948948
from sourmash.index import ZipFileLinearIndex

src/sourmash/index/revindex.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,8 @@ def counter_gather(self, query, threshold_bp, **kwargs):
242242
self._init_inner()
243243

244244
counter = RevIndex_CounterGather(query, self, threshold_bp)
245-
#for result in self.prefetch(query, threshold_bp=threshold_bp):
246-
# counter.add(result.signature)
245+
for result in self.prefetch(query, threshold_bp=threshold_bp):
246+
counter.add(result.signature)
247247

248248
return counter
249249

0 commit comments

Comments
 (0)