dcicutils 8.8.2.1b2__py3-none-any.whl → 8.8.2.1b4__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- dcicutils/progress_bar.py +5 -0
- {dcicutils-8.8.2.1b2.dist-info → dcicutils-8.8.2.1b4.dist-info}/METADATA +1 -1
- {dcicutils-8.8.2.1b2.dist-info → dcicutils-8.8.2.1b4.dist-info}/RECORD +6 -6
- {dcicutils-8.8.2.1b2.dist-info → dcicutils-8.8.2.1b4.dist-info}/LICENSE.txt +0 -0
- {dcicutils-8.8.2.1b2.dist-info → dcicutils-8.8.2.1b4.dist-info}/WHEEL +0 -0
- {dcicutils-8.8.2.1b2.dist-info → dcicutils-8.8.2.1b4.dist-info}/entry_points.txt +0 -0
dcicutils/progress_bar.py
CHANGED
@@ -116,12 +116,17 @@ class ProgressBar:
|
|
116
116
|
# the total during the course of a single ProgressBar instance.
|
117
117
|
self._bar.reset()
|
118
118
|
self._bar.total = value
|
119
|
+
self._bar.refresh()
|
119
120
|
|
120
121
|
def reset_eta(self) -> None:
|
121
122
|
# Since set_total does nothing if total is the same, provide
|
122
123
|
# a way to reset the ETA if starting over with the same total.
|
123
124
|
if self._bar is not None:
|
125
|
+
progress = self._bar.n
|
124
126
|
self._bar.reset()
|
127
|
+
self._bar.total = self._total
|
128
|
+
self._bar.n = progress
|
129
|
+
self._bar.refresh()
|
125
130
|
|
126
131
|
def set_progress(self, value: int) -> None:
|
127
132
|
if isinstance(value, int) and value >= 0:
|
@@ -48,7 +48,7 @@ dcicutils/obfuscation_utils.py,sha256=fo2jOmDRC6xWpYX49u80bVNisqRRoPskFNX3ymFAmj
|
|
48
48
|
dcicutils/opensearch_utils.py,sha256=V2exmFYW8Xl2_pGFixF4I2Cc549Opwe4PhFi5twC0M8,1017
|
49
49
|
dcicutils/portal_object_utils.py,sha256=gDXRgPsRvqCFwbC8WatsuflAxNiigOnqr0Hi93k3AgE,15422
|
50
50
|
dcicutils/portal_utils.py,sha256=oBoI3KWRp6YrbsuVGbmPQ3kATB5cVVsQo7-qmnYXWqg,30260
|
51
|
-
dcicutils/progress_bar.py,sha256=
|
51
|
+
dcicutils/progress_bar.py,sha256=ZOz6D5zmDbsAdPWNbtSNSBQkZn88xseSCWG9nhI2LGY,13564
|
52
52
|
dcicutils/project_utils.py,sha256=qPdCaFmWUVBJw4rw342iUytwdQC0P-XKpK4mhyIulMM,31250
|
53
53
|
dcicutils/qa_checkers.py,sha256=cdXjeL0jCDFDLT8VR8Px78aS10hwNISOO5G_Zv2TZ6M,20534
|
54
54
|
dcicutils/qa_utils.py,sha256=TT0SiJWiuxYvbsIyhK9VO4uV_suxhB6CpuC4qPacCzQ,160208
|
@@ -72,8 +72,8 @@ dcicutils/trace_utils.py,sha256=g8kwV4ebEy5kXW6oOrEAUsurBcCROvwtZqz9fczsGRE,1769
|
|
72
72
|
dcicutils/validation_utils.py,sha256=cMZIU2cY98FYtzK52z5WUYck7urH6JcqOuz9jkXpqzg,14797
|
73
73
|
dcicutils/variant_utils.py,sha256=2H9azNx3xAj-MySg-uZ2SFqbWs4kZvf61JnK6b-h4Qw,4343
|
74
74
|
dcicutils/zip_utils.py,sha256=rnjNv_k6L9jT2SjDSgVXp4BEJYLtz9XN6Cl2Fy-tqnM,2027
|
75
|
-
dcicutils-8.8.2.
|
76
|
-
dcicutils-8.8.2.
|
77
|
-
dcicutils-8.8.2.
|
78
|
-
dcicutils-8.8.2.
|
79
|
-
dcicutils-8.8.2.
|
75
|
+
dcicutils-8.8.2.1b4.dist-info/LICENSE.txt,sha256=qnwSmfnEWMl5l78VPDEzAmEbLVrRqQvfUQiHT0ehrOo,1102
|
76
|
+
dcicutils-8.8.2.1b4.dist-info/METADATA,sha256=7iQ5XlFNQ7aeNu9RefQTlwq-MFy_i1DolHXqfgr_Zv0,3356
|
77
|
+
dcicutils-8.8.2.1b4.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
|
78
|
+
dcicutils-8.8.2.1b4.dist-info/entry_points.txt,sha256=51Q4F_2V10L0282W7HFjP4jdzW4K8lnWDARJQVFy_hw,270
|
79
|
+
dcicutils-8.8.2.1b4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|