Skip to content

Ensure unique roots for lineage extraction#253

Merged
JoOkuma merged 2 commits intoroyerlab:mainfrom
cairola:patch-1
Jan 28, 2026
Merged

Ensure unique roots for lineage extraction#253
JoOkuma merged 2 commits intoroyerlab:mainfrom
cairola:patch-1

Conversation

@cairola
Copy link
Contributor

@cairola cairola commented Jan 27, 2026

The function splits correctly cell lineages. However, roots are duplicated (because cells with parent_track_id == NO_PARENT) are present at various times, which are all kept in the roots array. Substituting "to_numpy" to "unique" fixes this issue.

The function splits correctly cell lineages. However, roots are duplicated (because cells with parent_track_id == NO_PARENT) are present at various times, which are all kept in the roots array. Substituting "to_numpy" to "unique" fixes this issue.
@JoOkuma
Copy link
Member

JoOkuma commented Jan 28, 2026

@cairola, that makes sense, thanks for catching this.

@JoOkuma
Copy link
Member

JoOkuma commented Jan 28, 2026

Once I fix the CI in #254 I'll merge your PR

@codecov
Copy link

codecov bot commented Jan 28, 2026

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@27fa75d). Learn more about missing BASE report.

Files with missing lines Patch % Lines
ultrack/tracks/graph.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #253   +/-   ##
=======================================
  Coverage        ?   83.12%           
=======================================
  Files           ?       97           
  Lines           ?     6212           
  Branches        ?        0           
=======================================
  Hits            ?     5164           
  Misses          ?     1048           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@JoOkuma JoOkuma merged commit 9066cac into royerlab:main Jan 28, 2026
5 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