Skip to content

Support tracking data#385

Merged
jo-mueller merged 18 commits intov0.9.0from
v0.9.0_support_tracking_layer
Apr 26, 2025
Merged

Support tracking data#385
jo-mueller merged 18 commits intov0.9.0from
v0.9.0_support_tracking_layer

Conversation

@jo-mueller
Copy link
Collaborator

@jo-mueller jo-mueller commented Apr 16, 2025

Fixes #381, relevant for #376

This pull request introduces support for a new dataset, tgmm_mini_dataset, and adds functionality for handling Tracks layers in the napari_clusters_plotter plugin. The most important changes include adding the new dataset, updating the widget to handle Tracks layers, and enhancing tests to cover the new dataset and layer type.

New Dataset Support:

  • Added tgmm_mini_dataset function to load the TGMM mini dataset in src/napari_clusters_plotter/_sample_data.py.
  • Updated __init__.py to include tgmm_mini_dataset in the module exports.
  • Updated napari.yaml to include the new dataset under contributions. [1] [2]

Tracks Layer Support:

  • Modified _algorithm_widget.py to import and handle Tracks layers. [1] [2]
  • Updated _new_plotter_widget.py to connect Tracks layer properties and apply colors to Tracks layers. [1] [2]

Testing Enhancements:

  • Added tests for the new tgmm_mini_dataset in test_sample_data.py. [1] [2]
  • Added create_multi_tracks_layer function and updated existing tests to include Tracks layers in test_plotter.py. [1] [2] [3]

Documentation and Licensing:

  • Added a LICENSE file for the TGMM mini dataset.
  • Added a README.md for the TGMM mini dataset.

cc @stefanhahmann

@jo-mueller jo-mueller added the enhancement New feature or request label Apr 16, 2025
@jo-mueller jo-mueller added this to the v0.9.0 milestone Apr 16, 2025
@jo-mueller jo-mueller force-pushed the v0.9.0_support_tracking_layer branch from 73cfd75 to c507f67 Compare April 24, 2025 10:10
@jo-mueller jo-mueller mentioned this pull request Apr 26, 2025
6 tasks
@jo-mueller jo-mueller merged commit 1eac502 into v0.9.0 Apr 26, 2025
17 checks passed
@jo-mueller jo-mueller deleted the v0.9.0_support_tracking_layer branch April 26, 2025 22:19
@jo-mueller jo-mueller mentioned this pull request May 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant