Fixed problematic __str__ method and useless declarations in the

OBI_Nuc_Seq_Stored class
This commit is contained in:
Celine Mercier
2016-04-15 11:22:05 +02:00
parent 527d3555f0
commit e04ea85d1e
2 changed files with 2 additions and 6 deletions

View File

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

View File

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