Skip to content

Commit

Permalink
More appeasement
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewdalpino committed Oct 29, 2024
1 parent 2474c61 commit 94724b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dna_hash/dna_hash.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def insert(self, sequence: str, count: int) -> None:

def increment(self, sequence: str) -> None:
"""Increment the count for a given sequence by 1."""
exists = self.filter.exists_or_insert(sequence)
exists = self._filter.exists_or_insert(sequence)

if exists:
hashes = self._encode(sequence)
Expand Down Expand Up @@ -116,7 +116,7 @@ def argmax(self) -> str:

def get(self, sequence: str) -> int:
"""Return the count for a sequence."""
exists = self.filter.exists(sequence)
exists = self._filter.exists(sequence)

if not exists:
raise ValueError("Sequence not found in hash table.")
Expand Down

0 comments on commit 94724b0

Please sign in to comment.