Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
OBITools3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
23
Issues
23
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
OBITools
OBITools3
Commits
9a9afde1
Commit
9a9afde1
authored
Jul 24, 2020
by
Celine Mercier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cython: progress bar: set default refresh rate to 5 seconds
parent
8dd403a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
progress.pyx
python/obitools3/apps/progress.pyx
+2
-2
No files found.
python/obitools3/apps/progress.pyx
View file @
9a9afde1
...
@@ -30,12 +30,12 @@ cdef class ProgressBar:
...
@@ -30,12 +30,12 @@ cdef class ProgressBar:
off_t maxi,
off_t maxi,
dict config={},
dict config={},
str head="",
str head="",
double second
e=0.1
,
double second
s=5
,
cut=False):
cut=False):
self.starttime = self.clock()
self.starttime = self.clock()
self.lasttime = self.starttime
self.lasttime = self.starttime
self.tickcount = <clock_t> (second
e
* CLOCKS_PER_SEC)
self.tickcount = <clock_t> (second
s
* CLOCKS_PER_SEC)
self.freq = 1
self.freq = 1
self.cycle = 0
self.cycle = 0
self.arrow = 0
self.arrow = 0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment