Repository navigation
[FIX] FeatureOverlapFilter: mark removed features by address, not unique id - #10501
timosachsenberg merged 4 commits into
Conversation
…out unique ids Co-Authored-By: Claude Opus 5.5 <[email protected]>
…que id Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Priority: ➖ Normal Change: Bug fix Merge Risk: ⚪ Minimal · up to The change addresses FAIMS features with unset IDs, and no merge-blocking issue is evident from the supplied review. Normal test checks remain appropriate. Pre-merge checks |
|
timosachsenberg
left a comment
There was a problem hiding this comment.
Fix works but I wonder if the error was having no unique Id in the first place…
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
Thanks. Yes: FeatureFinderCentroided (and the other finders) never assign unique ids, so every feature has id 0 and one merge removed all of them. Making the finders assign ids would be a larger, separate change; |
|
I agree that this is a different issue. Looks good to me |
filter() recorded removals by getUniqueId(); mergeFAIMSFeatures runs on features without ids (all 0, as in FeatureFinderCentroided), so one merge removed every FAIMS feature (0 features out).
Fix: record removed features by pointer and compact by position.
New FeatureOverlapFilter_test section (3 FAIMS features with id 0, one cross-CV pair) expects 2 features; it gets 0 without the fix.
🤖 Generated with Claude Code
Summary by CodeRabbit