From 9a9afde1137ca66d4a2f589d45aeca8d725604f7 Mon Sep 17 00:00:00 2001 From: Celine Mercier Date: Fri, 24 Jul 2020 15:29:12 +0200 Subject: [PATCH] Cython: progress bar: set default refresh rate to 5 seconds --- python/obitools3/apps/progress.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/obitools3/apps/progress.pyx b/python/obitools3/apps/progress.pyx index 87233f5..26057c1 100755 --- a/python/obitools3/apps/progress.pyx +++ b/python/obitools3/apps/progress.pyx @@ -30,12 +30,12 @@ cdef class ProgressBar: off_t maxi, dict config={}, str head="", - double seconde=0.1, + double seconds=5, cut=False): self.starttime = self.clock() self.lasttime = self.starttime - self.tickcount = (seconde * CLOCKS_PER_SEC) + self.tickcount = (seconds * CLOCKS_PER_SEC) self.freq = 1 self.cycle = 0 self.arrow = 0