Patch a bug for primers without tags
This commit is contained in:
@ -709,7 +709,7 @@ cdef class ReadIndex:
|
||||
cdef char* pseq
|
||||
cdef bytes bseqf
|
||||
cdef bytes bseqr
|
||||
cdef bytes n=b"/2"
|
||||
cdef bytes n=b"/1"
|
||||
|
||||
delta = <void*>word - <void*>self._buffer
|
||||
delta/= self._seqsize
|
||||
@ -717,9 +717,9 @@ cdef class ReadIndex:
|
||||
start1=self._buffer+ delta * self._seqsize
|
||||
start2=start1 + self._seqsize / 2
|
||||
|
||||
if word < start2:
|
||||
if word >= start2:
|
||||
start1=start2
|
||||
n=b"/1"
|
||||
n=b"/2"
|
||||
|
||||
if lock:
|
||||
if GET_SEQUSED(start1[0])==1:
|
||||
|
Reference in New Issue
Block a user