DASDAE / dascore

A python library for distributed fiber optic sensing
Other
72 stars 16 forks source link

Progress bar options #328

Closed d-chambers closed 8 months ago

d-chambers commented 8 months ago

Description

This PR adds a progress argument to spool.update for controlling how the progress bar works, and adjusts other functions used by it accordingly. The default remains the same, but "basic" produces a simpler progress bar with lower refresh rates to address #305.

closes #305 and closes #308.

Checklist

I have (if applicable):

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (bde3da3) 99.50% compared to head (2da65a4) 99.51%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #328 +/- ## ======================================= Coverage 99.50% 99.51% ======================================= Files 92 92 Lines 7134 7144 +10 ======================================= + Hits 7099 7109 +10 Misses 35 35 ``` | [Flag](https://app.codecov.io/gh/DASDAE/dascore/pull/328/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DASDAE) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/DASDAE/dascore/pull/328/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DASDAE) | `99.51% <100.00%> (+<0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DASDAE#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.