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. , , ...").
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/clidirectory 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. , , ...").