Closed roomrys closed 4 months ago
[!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?
Description
In #1760, we added an option to distincly color by instance group. However, the
Node
items in theSkeletonDock
was getting caught in this case and being colored theColorManager.uncolored_prediction_color
(see below). This PR adds a simple check that theparent_instance is not None
in addition toColorManager.distinctly_color == "instance_groups"
.https://github.com/talmolab/sleap/blob/93e38f2229c2ebff9139951c5b07cc726c5d66ea/sleap/gui/color.py#L270-L301
Types of changes
Does this address any currently open issues?
[list open issues here]
Outside contributors checklist
Thank you for contributing to SLEAP!
:heart: