Added atexit command to obi import, obi uniq and obi less

This commit is contained in:
Celine Mercier
2017-10-16 11:09:55 +02:00
parent 04e065094a
commit 1ae634d56b
3 changed files with 14 additions and 13 deletions

View File

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