Skip to content

napari warning re color of tracks #573

@sfmig

Description

@sfmig

Describe the bug
With the work from PR #476, one occasionally gets a warning from napari that the tracks layer cannot be coloured by the requested feature:

 UserWarning: Previous color_by key 'individual_factorized' not present in features. Falling back to track_id!

...but everything works and looks just fine.

With PR #547, this will be documented in the GUI guide, but it would be good to investigate why this is triggered.

To Reproduce
For example, load the sample data file at /<user>/.movement/data/poses/SLEAP_two-mice_octagon.analysis.h5 into napari.

Expected behaviour
No warning to show

Log file
\

Screenshots

Computer used (please complete the following information):

  • OS: macOS 15.4.1
  • Hardware specs [e.g. 128 GB RAM, Xeon 4114 CPU]: M3 chip

Additional context
\

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    🤔 Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions