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 serialization of MDAEvents #110

Closed tlambert03 closed 1 year ago

tlambert03 commented 1 year ago

fixes a bug in calling MDAEvent.json() and/or yaml(), and adds a test

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.30% :tada:

Comparison is base (afe033d) 96.36% compared to head (671e39d) 96.67%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #110 +/- ## ========================================== + Coverage 96.36% 96.67% +0.30% ========================================== Files 12 12 Lines 716 721 +5 ========================================== + Hits 690 697 +7 + Misses 26 24 -2 ``` | [Files Changed](https://app.codecov.io/gh/pymmcore-plus/useq-schema/pull/110?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pymmcore-plus) | Coverage Δ | | |---|---|---| | [src/useq/\_base\_model.py](https://app.codecov.io/gh/pymmcore-plus/useq-schema/pull/110?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pymmcore-plus#diff-c3JjL3VzZXEvX2Jhc2VfbW9kZWwucHk=) | `89.02% <100.00%> (+0.71%)` | :arrow_up: | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/pymmcore-plus/useq-schema/pull/110/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pymmcore-plus)

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