Skip to content

Commit

Permalink
bump alive_progress version to 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwengers committed Feb 7, 2022
1 parent aee775f commit dbc79ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bakta/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def download(db_url, tarball_path):
with alive_bar(total=total_length) as bar:
for data in resp.iter_content(chunk_size=1024*1024):
fh_out.write(data)
bar(incr=len(data)/1024)
bar(len(data)/1024)
except IOError:
sys.exit(f'ERROR: Could not download file from Zenodo! url={db_url}, path={tarball_path}')

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
'biopython >= 1.78',
'xopen >= 1.1.0',
'requests >= 2.25.1',
'alive-progress >= 1.6.2'
'alive-progress >= 2.1.0'
],
entry_points={
'console_scripts': [
Expand Down

0 comments on commit dbc79ac

Please sign in to comment.