Patch a bug for primers without tags

This commit is contained in:
2012-06-26 21:49:04 +00:00
parent a2ecbace5e
commit 617638a4c1

View File

@ -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: