dstl / Stone-Soup

A software project to provide the target tracking community with a framework for the development and testing of tracking algorithms.
https://stonesoup.rtfd.io
MIT License
400 stars 131 forks source link

Fix mapping in TPR tree causing error when mapping is tuple #720

Closed sdhiscocks closed 1 year ago

sdhiscocks commented 1 year ago

This was caused by tuple being assumed to be 2d-slice.

codecov[bot] commented 1 year ago

Codecov Report

Base: 94.66% // Head: 94.66% // No change to project coverage :thumbsup:

Coverage data is based on head (fb20bc5) compared to base (2b69b97). Patch has no changes to coverable lines.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #720 +/- ## ======================================= Coverage 94.66% 94.66% ======================================= Files 171 171 Lines 8773 8773 Branches 1707 1707 ======================================= Hits 8305 8305 Misses 342 342 Partials 126 126 ``` | Flag | Coverage Δ | | |---|---|---| | integration | `70.02% <ø> (ø)` | | | unittests | `90.75% <ø> (ø)` | | 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=dstl#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://codecov.io/gh/dstl/Stone-Soup/pull/720?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl) | Coverage Δ | | |---|---|---| | [stonesoup/dataassociator/tree.py](https://codecov.io/gh/dstl/Stone-Soup/pull/720/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl#diff-c3RvbmVzb3VwL2RhdGFhc3NvY2lhdG9yL3RyZWUucHk=) | `97.29% <ø> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.