Skip to content

Commit

Permalink
Skip decoding of sequences too small to be processed in `Mapper.query…
Browse files Browse the repository at this point in the history
…_draft`
  • Loading branch information
althonos committed Aug 20, 2022
1 parent 5d52cc6 commit 9d1c177
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyfastani/_fastani.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1042,6 +1042,7 @@ cdef class Mapper(_Parameterized):
),
UserWarning,
)
continue
# get a way to read each letter of the contig,
# independently of it being `str`, `bytes`, `bytearray`, etc.
if isinstance(contig, str):
Expand Down

0 comments on commit 9d1c177

Please sign in to comment.