Cython: Sequence objects: Quality strings are now returned as bytes
instead of str
This commit is contained in:
@ -363,9 +363,9 @@ cdef class Nuc_Seq_Stored(Seq_Stored) :
|
||||
# quality character string property getter
|
||||
# WARNING: default offset used
|
||||
@property
|
||||
def quality_str(self):
|
||||
def quality_bytes(self):
|
||||
if QUALITY_COLUMN in self:
|
||||
return self._view.get_column(QUALITY_COLUMN).get_str_line(self._index)
|
||||
return self._view.get_column(QUALITY_COLUMN).get_bytes_line(self._index)
|
||||
else:
|
||||
return None
|
||||
|
||||
|
Reference in New Issue
Block a user