This repository has been archived by the owner on Jan 4, 2024. It is now read-only.
Undesirable Behaviour in functions.status_print
#36
Labels
functions.status_print
#36
Describe the bug
Status print currently contains a bug where it is rounding up the completion percentage. While this may initially be desirable for very lengthy operations to get as soon as possible to 1%, it causes an issue where the percentage can become
100%
well before the round is actually complete.When this happens the console is spammed repeatedly with
DONE!
messages even though the operation is not done, each on its own new line.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The 100% - Done message should only be shown on the final operation in the queue.
Log/Console Output
Packing: [###############] 100% - Done!
Packing: [###############] 100% - Done!
Packing: [###############] 100% - Done!
Packing: [###############] 100% - Done!
Packing: [###############] 100% - Done!
Packing: [###############] 100% - Done!
Packing: [###############] 100% - Done!
Packing: [###############] 100% - Done!
Packing: [###############] 100% - Done!
Packing: [###############] 100% - Done!
Desktop (please complete the following information):
and later
.Additional context
This is probably a minor fix along with the other issues described here, which came from working with production data. Its own minor release is not required if all of the open tickets can be closed reasonably close together.
The text was updated successfully, but these errors were encountered: