-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test InstanceGroup
and FrameGroup
#1759
Test InstanceGroup
and FrameGroup
#1759
Conversation
WalkthroughThe updates primarily enhance the Changes
Poem
Recent Review DetailsConfiguration used: CodeRabbit UI Files selected for processing (2)
Additional Context UsedRuff (7)
Additional comments not posted (18)
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? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## liezl/asc-initial-update-instances-across-views #1759 +/- ##
===================================================================================
+ Coverage 73.78% 74.00% +0.21%
===================================================================================
Files 135 135
Lines 24919 24920 +1
===================================================================================
+ Hits 18387 18441 +54
+ Misses 6532 6479 -53 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Out of diff range and nitpick comments (5)
tests/io/test_cameras.py (1)
3-3
: Ensure consistent import formatting.Consider aligning the import statements for better readability. For example, aligning the imported types under each other can improve the visual structure of the import section.
sleap/io/cameras.py (4)
Line range hint
448-448
: Undefined nameSkeleton
used in_create_dummy_instance
. Ensure thatSkeleton
is properly imported or defined in the scope.+ from sleap.skeleton import Skeleton
Line range hint
605-605
: Undefined nameSkeleton
used increate_and_add_instance
. Ensure thatSkeleton
is properly imported or defined in the scope.+ from sleap.skeleton import Skeleton
Line range hint
833-833
: Avoid using a bareexcept
in__getitem__
. Specify the exception type to improve error handling and maintainability.- except: + except IndexError:
Line range hint
79-81
: The f-strings in__repr__
methods do not contain placeholders. Consider removing the f-string notation if no formatting is needed.- f"{session} not found in {self}." + "{session} not found in {self}."
55c6fd4
into
liezl/asc-initial-update-instances-across-views
Description
This PR adds more tests for
InstanceGroup
andFrameGroup
classes.Types of changes
Does this address any currently open issues?
[list open issues here]
Outside contributors checklist
Thank you for contributing to SLEAP!
❤️