commenting _obidms.pyx
This commit is contained in:
@ -607,7 +607,7 @@ cdef class OBIView_line :
|
|||||||
elif value_type == bool :
|
elif value_type == bool :
|
||||||
value_obitype = 'OBI_BOOL'
|
value_obitype = 'OBI_BOOL'
|
||||||
elif value_type == str :
|
elif value_type == str :
|
||||||
if only_ATGC(str2bytes(value)) : # TODO
|
if only_ATGC(str2bytes(value)) : # TODO detect IUPAC?
|
||||||
value_obitype = 'OBI_SEQ'
|
value_obitype = 'OBI_SEQ'
|
||||||
elif len(value) == 1 :
|
elif len(value) == 1 :
|
||||||
value_obitype = 'OBI_CHAR'
|
value_obitype = 'OBI_CHAR'
|
||||||
@ -718,7 +718,7 @@ cdef class OBIDMS :
|
|||||||
views[view_name]["line_count"] = <int> view_p.line_count
|
views[view_name]["line_count"] = <int> view_p.line_count
|
||||||
views[view_name]["view_number"] = <int> view_p.view_number
|
views[view_name]["view_number"] = <int> view_p.view_number
|
||||||
views[view_name]["created_from"] = bytes2str(view_p.created_from)
|
views[view_name]["created_from"] = bytes2str(view_p.created_from)
|
||||||
views[view_name]["creation_date"] = bytes2str(obi_format_date(view_p.creation_date)) # TODO move this function in utils or somethings
|
views[view_name]["creation_date"] = bytes2str(obi_format_date(view_p.creation_date))
|
||||||
if (view_p.all_lines) :
|
if (view_p.all_lines) :
|
||||||
views[view_name]["line_selection"] = None
|
views[view_name]["line_selection"] = None
|
||||||
else :
|
else :
|
||||||
|
Reference in New Issue
Block a user