Skip to content

Commit

Permalink
Merge pull request #2817 from casperdcl/si-progress
Browse files Browse the repository at this point in the history
use SI prefixes for progress
  • Loading branch information
efiop authored Nov 21, 2019
2 parents 91ac75d + 43da704 commit 5c5d1ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dvc/progress.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ class Tqdm(tqdm):

BAR_FMT_DEFAULT = (
"{percentage:3.0f}%|{bar:10}|"
"{desc:{ncols_desc}.{ncols_desc}}{n}/{total}"
"{desc:{ncols_desc}.{ncols_desc}}{n_fmt}/{total_fmt}"
" [{elapsed}<{remaining}, {rate_fmt:>11}{postfix}]"
)
BAR_FMT_NOTOTAL = (
"{desc:{ncols_desc}.{ncols_desc}}{n}"
"{desc:{ncols_desc}.{ncols_desc}}{n_fmt}"
" [{elapsed}<??:??, {rate_fmt:>11}{postfix}]"
)

Expand Down

0 comments on commit 5c5d1ed

Please sign in to comment.