Commit 3d4c982e by Eric Coissac

Switch to the new progress bar

parent 19c7a916
......@@ -9,7 +9,7 @@ from orgasm.graph._graphmultiedge cimport *
from functools import reduce
from orgasm.utils._progress cimport progressBar
from orgasm.apps.progress cimport ProgressBar
from orgasm.utils.dna cimport reverseComplement
import math
......@@ -264,7 +264,9 @@ cdef class CompactAssembling(DiGraphMultiEdge):
if verbose:
print("Compacting graph :",file=sys.stderr)
else:
progressBar(1,lgraph,True,b"Compacting graph")
progress = ProgressBar(lgraph,
head="Compacting graph",
seconde=0.1)
minweight=1000000.
......@@ -285,7 +287,7 @@ cdef class CompactAssembling(DiGraphMultiEdge):
weight),
file=sys.stderr)
else:
progressBar(lcontig,lgraph,False,b"Compacting graph")
progress(lcontig)
self.setStemid()
......
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