pymmcore-plus / useq-schema

An implementation agnostic schema for describing a sequence of events during a multi-dimensional imaging acquisition.
https://pymmcore-plus.github.io/useq-schema/
BSD 3-Clause "New" or "Revised" License
15 stars 5 forks source link

fix: fix rounding error in ZPlan num_positions estimate #127

Closed tlambert03 closed 1 year ago

tlambert03 commented 1 year ago

fixes a rounding issue when calculating the number of steps in a Zplan

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (fe1c571) 98.37% compared to head (326ad82) 98.37%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #127 +/- ## ======================================= Coverage 98.37% 98.37% ======================================= Files 14 14 Lines 799 801 +2 ======================================= + Hits 786 788 +2 Misses 13 13 ``` | [Files Changed](https://app.codecov.io/gh/pymmcore-plus/useq-schema/pull/127?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pymmcore-plus) | Coverage Δ | | |---|---|---| | [src/useq/\_z.py](https://app.codecov.io/gh/pymmcore-plus/useq-schema/pull/127?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pymmcore-plus#diff-c3JjL3VzZXEvX3oucHk=) | `98.48% <100.00%> (+0.04%)` | :arrow_up: |

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