Skip to content

Add MD progress bar #521

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

Merged
merged 19 commits into from
Apr 25, 2025
Merged

Conversation

ElliottKasoar
Copy link
Member

@ElliottKasoar ElliottKasoar commented Apr 16, 2025

Resolves #405 and #455

See examples for the next week: https://asciinema.org/a/gQeyJo9JJPvSWFkuLVCkdnfHV

Or permanent example:
image

This combines aspects of #444 and #457.

Thanks to @k-harris27, we do now have the option to use ASE's irun, and wrap this with the rich progress tracker, but unfortunately this seems to provide limited options for reducing the frequency of updates, since each next(irun) causes the bar to refresh. This ends up having a noticeable (consistently 4-5% from tests up to around 25 min on my laptop) impact on performance, so I think we need to limit the frequency of updates, which requires a more manual process.

To simplify things, I've gone with a single progress bar, but the description changes according to the current step.

@ElliottKasoar ElliottKasoar added the enhancement New/improved feature or request label Apr 16, 2025
@ElliottKasoar ElliottKasoar self-assigned this Apr 16, 2025
@ElliottKasoar
Copy link
Member Author

ElliottKasoar commented Apr 16, 2025

(Will need rebasing after #520 is merged)

@ElliottKasoar ElliottKasoar force-pushed the md-progress-show-all branch 2 times, most recently from 41e01b8 to 5461b59 Compare April 23, 2025 10:22
@ElliottKasoar ElliottKasoar merged commit 7b44d94 into stfc:main Apr 25, 2025
13 checks passed
@ElliottKasoar ElliottKasoar deleted the md-progress-show-all branch April 25, 2025 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New/improved feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use progress bar for MD
3 participants