Skip to content

Commit

Permalink
minor progress_bar update
Browse files Browse the repository at this point in the history
  • Loading branch information
dmichaels-harvard committed Apr 18, 2024
1 parent 9edc01d commit 6b1a142
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion dcicutils/progress_bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,8 @@ def restore_stdout_write() -> None: # noqa
if sys_stdout_write is not None:
sys.stdout.write = sys_stdout_write
sys.stdout.write = tidy_stdout_write
spina = ["|", "/", "—", "◦", "\\"] ; spini = 0 ; spinn = len(spina) # noqa
# spina = ["|", "/", "—", "◦", "\\"]
spina = ["⠿", "⠻", "⠽", "⠾", "⠷", "⠯", "⠟"]
spini = 0 ; spinn = len(spina) # noqa
sentinel = "[progress]" ; sentinel_internal = f"{sentinel}:" # noqa
return namedtuple("tidy_output_hack", ["restore", "sentinel"])(restore_stdout_write, sentinel)
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "dcicutils"
version = "8.8.3.1b16" # TODO: To become 8.8.4
version = "8.8.3.1b17" # TODO: To become 8.8.4
description = "Utility package for interacting with the 4DN Data Portal and other 4DN resources"
authors = ["4DN-DCIC Team <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 6b1a142

Please sign in to comment.