Closed justinvshen closed 2 weeks ago
Attention: Patch coverage is 0%
with 2 lines
in your changes missing coverage. Please review.
Project coverage is 74.17%. Comparing base (
b55d4ef
) to head (cb75f33
). Report is 2 commits behind head on liezl/add-gui-elements-for-sessions.
Files with missing lines | Patch % | Lines |
---|---|---|
sleap/gui/commands.py | 0.00% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
[!IMPORTANT]
Review skipped
Auto reviews are disabled on base/target branches other than the default branch.
Please check the settings in the CodeRabbit UI or the
.coderabbit.yaml
file in this repository. To trigger a single review, invoke the@coderabbitai review
command.You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
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?
After some manual testing, we realize that there are a few places in the GUI where we switch frames not through the CommandContext
. Ideally, the CommandContext
should handle all commands made by the user to the GUI. But, since we are on a divergent branch... we want to implement the smallest amount of code to fix the current problem (not properly resetting state["instance"]
when switching frames). The minimal amount of code needed is a callback updating state["instance"]
when we update state["frame_idx"]
.
This PR is superseded by:
Description
Sets selected instance to None when switching videos/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: