quantumjot / btrack

Bayesian multi-object tracking
https://btrack.readthedocs.io
MIT License
309 stars 50 forks source link

Some typing changes, general improvements, utilising generators etc. #328

Closed paddyroddy closed 11 months ago

paddyroddy commented 1 year ago

This was an attempt for #84, but not quite managed. See this a WIP which can now be merged.

deprecated-napari-hub-preview-bot[bot] commented 1 year ago

Preview page for your plugin is ready here: https://preview.napari-hub.org/quantumjot/btrack/328 Updated: 2023-08-09T13:33:00.954628

codecov-commenter commented 11 months ago

Codecov Report

Patch coverage: 83.11% and project coverage change: +0.25% :tada:

Comparison is base (e2ee8d8) 85.48% compared to head (ffb3fcc) 85.74%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #328 +/- ## ========================================== + Coverage 85.48% 85.74% +0.25% ========================================== Files 31 31 Lines 2211 2202 -9 Branches 407 404 -3 ========================================== - Hits 1890 1888 -2 + Misses 236 232 -4 + Partials 85 82 -3 ``` | [Files Changed](https://app.codecov.io/gh/quantumjot/btrack/pull/328?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alan+R+Lowe) | Coverage Δ | | |---|---|---| | [btrack/napari/\_\_init\_\_.py](https://app.codecov.io/gh/quantumjot/btrack/pull/328?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alan+R+Lowe#diff-YnRyYWNrL25hcGFyaS9fX2luaXRfXy5weQ==) | `100.00% <ø> (ø)` | | | [btrack/io/\_localization.py](https://app.codecov.io/gh/quantumjot/btrack/pull/328?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alan+R+Lowe#diff-YnRyYWNrL2lvL19sb2NhbGl6YXRpb24ucHk=) | `90.26% <50.00%> (-0.09%)` | :arrow_down: | | [btrack/io/exporters.py](https://app.codecov.io/gh/quantumjot/btrack/pull/328?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alan+R+Lowe#diff-YnRyYWNrL2lvL2V4cG9ydGVycy5weQ==) | `72.72% <50.00%> (+0.50%)` | :arrow_up: | | [btrack/io/utils.py](https://app.codecov.io/gh/quantumjot/btrack/pull/328?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alan+R+Lowe#diff-YnRyYWNrL2lvL3V0aWxzLnB5) | `88.63% <50.00%> (+0.26%)` | :arrow_up: | | [btrack/napari/config.py](https://app.codecov.io/gh/quantumjot/btrack/pull/328?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alan+R+Lowe#diff-YnRyYWNrL25hcGFyaS9jb25maWcucHk=) | `85.52% <75.00%> (-0.59%)` | :arrow_down: | | [btrack/datasets.py](https://app.codecov.io/gh/quantumjot/btrack/pull/328?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alan+R+Lowe#diff-YnRyYWNrL2RhdGFzZXRzLnB5) | `90.32% <77.77%> (+3.48%)` | :arrow_up: | | [btrack/utils.py](https://app.codecov.io/gh/quantumjot/btrack/pull/328?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alan+R+Lowe#diff-YnRyYWNrL3V0aWxzLnB5) | `86.95% <80.00%> (+3.12%)` | :arrow_up: | | [btrack/models.py](https://app.codecov.io/gh/quantumjot/btrack/pull/328?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alan+R+Lowe#diff-YnRyYWNrL21vZGVscy5weQ==) | `89.84% <91.66%> (+0.07%)` | :arrow_up: | | [btrack/btypes.py](https://app.codecov.io/gh/quantumjot/btrack/pull/328?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alan+R+Lowe#diff-YnRyYWNrL2J0eXBlcy5weQ==) | `84.68% <100.00%> (+0.07%)` | :arrow_up: | | [btrack/core.py](https://app.codecov.io/gh/quantumjot/btrack/pull/328?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alan+R+Lowe#diff-YnRyYWNrL2NvcmUucHk=) | `83.33% <100.00%> (+0.07%)` | :arrow_up: | | ... and [3 more](https://app.codecov.io/gh/quantumjot/btrack/pull/328?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alan+R+Lowe) | |

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