Skip to content

Commit

Permalink
revert prior fix and pin alive-progress to v1.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwengers committed Feb 7, 2022
1 parent 1044bd9 commit 60ac3ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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(len(data)/1024)
bar(incr=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 environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies:
- biopython>=1.78
- xopen>=1.1.0
- requests>=2.25.1
- alive-progress>=2.1.0
- alive-progress==1.6.2
- trnascan-se>=2.0.6
- aragorn>=1.2.38
- infernal>=1.1.4
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 >= 2.1.0'
'alive-progress == 1.6.2'
],
entry_points={
'console_scripts': [
Expand Down

0 comments on commit 60ac3ed

Please sign in to comment.