Skip to content

Commit 3761773

Browse files
+ Increased progress precision
1 parent a81d244 commit 3761773

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/thread/thread.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ def wrapper(index: int, data_chunk: Sequence[Data_In], *args: Any, **kwargs: Any
396396
for i, data_entry in enumerate(data_chunk):
397397
v = function(data_entry, *args, **kwargs)
398398
computed.append(v)
399-
self._threads[index].progress = round((i+1)/len(data_chunk), 2)
399+
self._threads[index].progress = round((i+1)/len(data_chunk), 5)
400400

401401
self._completed += 1
402402
if self._completed == len(self._threads):

0 commit comments

Comments
 (0)