Commit e04ea85d by Celine Mercier

Fixed problematic __str__ method and useless declarations in the

OBI_Nuc_Seq_Stored class
parent 527d3555
......@@ -21,10 +21,6 @@ cdef class OBI_Nuc_Seq(OBI_Seq) :
cdef class OBI_Nuc_Seq_Stored(OBIView_line) :
cdef str id
cdef str description
cdef str sequence
cpdef set_id(self, str id)
cpdef get_id(self)
cpdef set_description(self, str description)
......
......@@ -65,8 +65,8 @@ cdef class OBI_Nuc_Seq_Stored(OBIView_line) :
cpdef get_sequence(self) :
return self[bytes2str(NUC_SEQUENCE_COLUMN)]
def __str__(self) :
return self[bytes2str(NUC_SEQUENCE_COLUMN)] # or not
# def __str__(self) :
# return self[bytes2str(NUC_SEQUENCE_COLUMN)] # or not
# cpdef str reverse_complement(self) : TODO in C ?
# pass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment