HistomicsTK icon indicating copy to clipboard operation
HistomicsTK copied to clipboard

Add progress messages to CLIs

Open manthey opened this issue 1 year ago • 0 comments

For any CLI that takes a long time to run, we could send progress messages. See https://github.com/DigitalSlideArchive/superpixel-classification/blob/main/superpixel_classification/SuperpixelClassification/progress_helper.py. Perhaps that file could be added in the histomicstk/cli directory and used by various algorithms.

We probably also want a flag to skip progress messages, since if you have a lot of workers and run batches of algorithms, you don't want to see a large number of progress bars. Alternately, this could be something on the server side where if we have more than two of these progress bars, we aggregate them somehow (e.g., "Five tasks. <message A>, <Message B>, ...").

manthey avatar Jul 28 '23 12:07 manthey