Closed roomrys closed 10 months ago
The update introduces modifications to the sleap/gui/commands.py
file, including the import of permutations
from itertools
and refactoring of the TriangulateSession
class to enhance the handling of instances and their coordinates. The corresponding test file, tests/gui/test_commands.py
, has been updated to accommodate these changes.
File Path | Change Summary |
---|---|
sleap/gui/commands.py |
Importing permutations from itertools and refactoring the TriangulateSession class to improve instance and coordinate handling. |
tests/gui/test_commands.py |
Updated test function signatures and references to match the changes in sleap/gui/commands.py . |
Among the code, a rabbit hops, 🐇
Refactoring with gentle bops.
Tests embrace the shifting ground,
In logic's dance, new solutions found. 💻
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
@coderabbitai review
Attention: 12 lines
in your changes are missing coverage. Please review.
Comparison is base (
8ff1cc5
) 73.83% compared to head (ed27d88
) 73.81%.
Files | Patch % | Lines |
---|---|---|
sleap/gui/commands.py | 84.81% | 12 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
This PR adds a method to test and retrieve the "correct" instance grouping. Here "correct" means the instance grouping with the lowest total reprojection error across all frames.
Types of changes
Does this address any currently open issues?
[list open issues here]
Outside contributors checklist
Thank you for contributing to SLEAP!
:heart:
Summary by CodeRabbit
New Features
Tests