Skip to content

add _top_level to UserUpdateSegmentation and UserDeleteNodes to support copying of labels - #271

Open
AnniekStok wants to merge 4 commits into
mainfrom
support_copy_labels_from_source
Open

add _top_level to UserUpdateSegmentation and UserDeleteNodes to support copying of labels#271
AnniekStok wants to merge 4 commits into
mainfrom
support_copy_labels_from_source

Conversation

@AnniekStok

Copy link
Copy Markdown
Collaborator

Some copy label actions are both painting and erasing at the same time, on different regions. They replace the clicked node entirely, but only write on some of the original pixels. Since the UserUpdateSegmentation action can only paint with exactly one value, this becomes two actions. In order to undo both actions in one go, we need the _top_level argument, so we can stack them together.

For motile tracker PR funkelab/motile_tracker#477

@codecov

codecov Bot commented Aug 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.92%. Comparing base (be685db) to head (3ea1d2f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #271   +/-   ##
=======================================
  Coverage   93.92%   93.92%           
=======================================
  Files          59       59           
  Lines        3323     3326    +3     
=======================================
+ Hits         3121     3124    +3     
  Misses        202      202           

☔ View full report in Codecov by Harness.
📢 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.

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.

1 participant