Added atexit command to obi import, obi uniq and obi less
This commit is contained in:
@ -12,6 +12,7 @@ from obitools3.dms.view.view cimport View
|
||||
from obitools3.dms.view.typed_view.view_NUC_SEQS cimport View_NUC_SEQS
|
||||
from obitools3.dms.column.column cimport Column
|
||||
from obitools3.dms.obiseq cimport Nuc_Seq
|
||||
from obitools3.dms import DMS
|
||||
|
||||
from obitools3.utils cimport tobytes, \
|
||||
get_obitype, \
|
||||
@ -82,6 +83,7 @@ def run(config):
|
||||
cdef bytes NA_value
|
||||
global obi_errno
|
||||
|
||||
DMS.obi_atexit()
|
||||
|
||||
logger("info","obi import : imports file into an DMS")
|
||||
|
||||
@ -238,6 +240,6 @@ def run(config):
|
||||
print("\n")
|
||||
print(view.__repr__())
|
||||
|
||||
input[0].close() # TODO
|
||||
input[0].close() # TODO ?
|
||||
output[0].close()
|
||||
|
||||
|
Reference in New Issue
Block a user