Open sfmig opened 1 week ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 99.76%. Comparing base (
2e406e1
) to head (f8052a8
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Issues
7 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Rebase after #231 is merged
Description
What is this PR
Why is this PR needed? To be able to load a VIA tracks file with bounding boxes into a movement dataset.
What does this PR do?
movement.io.load_bboxes
module, which follows the equivalent poses one as much as possible.tests_load_bboxes
.Question: how to make
mypy
aware of the type transformations that take place in__attrs_post_init__
? For example, the confidence array passed toValidBboxesDataset
can beNone
, andmypy
flags that a.shape
attribute is used later whichNone
doesn't have. Butmypy
seems to be missing that the confidence array is populated with nans in__attrs_post_init__
ifNone
is passed as input. Is there a nice way to fix this?References
This PR would close #167
How has this PR been tested?
Tests pass locally and on CI.
Is this a breaking change?
No.
Does this PR require an update to the documentation?
I updated
api_index.rst
.Checklist: