Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add progress messages to CLIs #1032

Open
manthey opened this issue Jul 28, 2023 · 0 comments
Open

Add progress messages to CLIs #1032

manthey opened this issue Jul 28, 2023 · 0 comments

Comments

@manthey
Copy link
Contributor

manthey commented Jul 28, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant