Commit 2dc7fcce by Celine Mercier

Minor fixes

parent e096b929
......@@ -63,7 +63,7 @@ def run(config):
# Create output view with the line selection
o_view = selection.materialize(output_view_name, comments="obi head: "+str(config['head']['count'])+"\n")
o_view = selection.materialize(output_view_name, comments="obi head: "+str(len(selection))+"\n")
except Exception, e:
raise RollbackException("obi head error, rollbacking view: "+str(e), o_view)
......@@ -4,9 +4,8 @@ from obitools3.apps.progress cimport ProgressBar # @UnresolvedImport
from obitools3.dms import DMS
from obitools3.dms.view.view cimport View, Line_selection
from obitools3.uri.decode import open_uri
from obitools3.apps.optiongroups import addMinimalInputOption, addTaxonomyInputOption, addMinimalOutputOption
from obitools3.apps.optiongroups import addMinimalInputOption, addMinimalOutputOption
from obitools3.dms.view import RollbackException
from functools import reduce
from obitools3.apps.config import logger
from obitools3.dms.capi.obitypes cimport OBI_BOOL, \
......@@ -86,7 +85,7 @@ def run(config):
output_view_name = uri[0]
# Initialize the progress bar
pb = ProgressBar(len(i_view), config, seconde=5) # TODO
pb = ProgressBar(len(i_view), config, seconde=5)
keys = config['sort']['keys']
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