TimMonko / napari-ndev

A collection of plugin widgets by Tim Monko -- focused on neural development -- but intended to be broadly applicable to microscopy.
https://timmonko.github.io/napari-ndev/
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

update measure container and add a new test #66

Closed TimMonko closed 1 week ago

TimMonko commented 1 week ago

This should fix tx_regex_dict not being properly deployed to the measure function. I don't know exactly what the fix is, but I created a unit test to verify it works, and also tested it using the gui myself.

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 92.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 81.35%. Comparing base (40073c3) to head (2e68ea0). Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/napari_ndev/_measure_container.py 77.77% 1 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #66 +/- ## ========================================== + Coverage 81.32% 81.35% +0.02% ========================================== Files 22 22 Lines 1912 1936 +24 Branches 190 191 +1 ========================================== + Hits 1555 1575 +20 - Misses 323 325 +2 - Partials 34 36 +2 ``` | [Flag](https://app.codecov.io/gh/TimMonko/napari-ndev/pull/66/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tim+Monko) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/TimMonko/napari-ndev/pull/66/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tim+Monko) | `81.35% <92.00%> (+0.02%)` | :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=Tim+Monko#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.