-
Notifications
You must be signed in to change notification settings - Fork 11
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
Fix multi-skeleton loading #79
Conversation
WalkthroughThe recent updates focus on enhancing the Changes
Possibly related issues
Poem
Recent Review DetailsConfiguration used: CodeRabbit UI Files selected for processing (2)
Additional comments not posted (2)
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 @@
## main #79 +/- ##
=======================================
Coverage 94.79% 94.79%
=======================================
Files 13 13
Lines 1498 1498
=======================================
Hits 1420 1420
Misses 78 78 ☔ 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
Actionable comments outside the diff hunks (13)
tests/io/test_slp.py (10)
Line range hint
4-4
: Consider removing the unused importsleap_io.Video
.- from sleap_io import ( - Video, + from sleap_io import (
Line range hint
6-6
: Consider removing the unused importsleap_io.Edge
.- Edge,
Line range hint
9-9
: Consider removing the unused importsleap_io.LabeledFrame
.- LabeledFrame,
Line range hint
10-10
: Consider removing the unused importsleap_io.Track
.- Track,
Line range hint
11-11
: Consider removing the unused importsleap_io.Point
.- Point,
Line range hint
12-12
: Consider removing the unused importsleap_io.PredictedPoint
.- PredictedPoint,
Line range hint
24-24
: Consider removing the unused importsleap_io.io.slp.serialize_skeletons
.- serialize_skeletons,
Line range hint
28-28
: The importsleap_io.io.slp.read_instances
is redefined and unused. Consider removing it.- read_instances,
Line range hint
52-52
: Useisinstance()
for type checking instead of direct type comparison.- assert type(labels) == Labels + assert isinstance(labels, Labels)
Line range hint
183-183
: Useisinstance()
for type checking instead of direct type comparison.- assert type(provenance) == dict + assert isinstance(provenance, dict)sleap_io/io/slp.py (3)
Line range hint
26-26
: Consider removing the unused importsleap_io.io.utils.write_hdf5_dataset
.- write_hdf5_dataset,
Line range hint
27-27
: Consider removing the unused importsleap_io.io.utils.write_hdf5_group
.- write_hdf5_group,
Line range hint
28-28
: Consider removing the unused importsleap_io.io.utils.write_hdf5_attrs
.- write_hdf5_attrs,
Fix multi-skeleton loading (#71)
Summary by CodeRabbit
Refactor
Tests