Skip to content

Conversation

@romainGuiet
Copy link
Member

References and relevant issues

(#4)

Description

File > Open Sample > CoTracker sample (cotcotcot)
image

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds functionality to load sample datasets (image and seed layers) for the CoTracker plugin, accessible via File > Open Sample > CoTracker sample menu in napari.

Key changes:

  • Implements load_sample_data() function that loads a chicken GIF from GitHub and corresponding seed points from a local CSV file
  • Updates napari.yaml to register the new sample data command and removes unused reader/writer plugin contributions
  • Removes boilerplate reader and writer modules that were not being used

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
src/napari_cotcotcot/napari.yaml Updates command registration from make_sample_data to load_sample_data and removes unused reader/writer plugin registrations
src/napari_cotcotcot/_sample_data.py Replaces placeholder implementation with functional code that downloads a GIF and loads seed points from CSV
src/napari_cotcotcot/data/Gallus_gallus_domesticus/seed_Chicken1.csv Adds sample seed point data with time and spatial coordinates
src/napari_cotcotcot/_reader.py Removes unused boilerplate reader module
src/napari_cotcotcot/_writer.py Removes unused boilerplate writer module
Comments suppressed due to low confidence (1)

src/napari_cotcotcot/_sample_data.py:11

  • Import of 'urlretrieve' is not used.
    from urllib.request import urlretrieve

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

romainGuiet and others added 10 commits November 14, 2025 09:51
remove unnecessary import

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@romainGuiet romainGuiet merged commit abe6846 into main Nov 14, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants