Skip to content

Fix mask isub + tracksdata update - #264

Merged
cmalinmayor merged 3 commits into
mainfrom
fix-mask-isub
Jul 28, 2026
Merged

Fix mask isub + tracksdata update#264
cmalinmayor merged 3 commits into
mainfrom
fix-mask-isub

Conversation

@TeunHuijben

@TeunHuijben TeunHuijben commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

This PR does tracksdata maintenance, namely:

  • pin tracksdata to the latest v0.1.0rc7
  • fixes a bug in UpdateNodeSeg where Mask.__isub__ works in-place, and funtracks mistakenly assumed it didn't. I fixed the .__isub__ line and added a test that captures this. (this solves failing motile_tracker tests in segmentation_shape consistency motile_tracker#463)

TeunHuijben and others added 3 commits July 27, 2026 12:34
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Add regression test: erasing an interior pixel (bbox unchanged) must clear
  it in the segmentation GraphArrayView. Fails with the old in-place __isub__.
- Fix test_from_tracks_cls: assert segmentation identity instead of ==, which
  is element-wise (ambiguous) on newer tracksdata GraphArrayView.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@codecov

codecov Bot commented Jul 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.78%. Comparing base (97a2126) to head (b7a2811).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #264   +/-   ##
=======================================
  Coverage   93.78%   93.78%           
=======================================
  Files          59       59           
  Lines        3284     3285    +1     
=======================================
+ Hits         3080     3081    +1     
  Misses        204      204           

☔ 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.

@TeunHuijben TeunHuijben changed the title Fix mask isub + td update Fix mask isub + tracksdata update Jul 27, 2026
@TeunHuijben
TeunHuijben marked this pull request as ready for review July 27, 2026 19:57
@TeunHuijben
TeunHuijben requested a review from cmalinmayor as a code owner July 27, 2026 19:57
@cmalinmayor

Copy link
Copy Markdown
Contributor

Oh yes I found this isub bug too 😆 can we potentially implement mask normal sub in funtracks as well?

@cmalinmayor cmalinmayor reopened this Jul 28, 2026
@cmalinmayor
cmalinmayor merged commit 38cfa7d into main Jul 28, 2026
57 checks passed
@cmalinmayor
cmalinmayor deleted the fix-mask-isub branch July 28, 2026 14:22
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