Skip to content

[ENH] Better consideration#189

Merged
36000 merged 1 commit into
tractometry:mainfrom
36000:fix_float_consideration
May 18, 2026
Merged

[ENH] Better consideration#189
36000 merged 1 commit into
tractometry:mainfrom
36000:fix_float_consideration

Conversation

@36000

@36000 36000 commented May 15, 2026

Copy link
Copy Markdown
Collaborator

Fixes a problem @chiuhoward ran into. Let's wait to merge until we confirm it actually fixes it.

Copilot AI review requested due to automatic review settings May 15, 2026 21:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 updates core-relative streamline cleaning so numeric consideration thresholds fall back to closest-point evaluation when no streamline points fall within the threshold.

Changes:

  • Documents the fallback behavior for float consideration.
  • Extracts closest-point comparison into a helper.
  • Uses that helper for both "closest" mode and the numeric-threshold fallback.

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

Comment thread AFQ/recognition/other_bundles.py
@36000 36000 changed the title [ENH] better consideration [ENH] Better consideration May 15, 2026
@36000
36000 force-pushed the fix_float_consideration branch from fc0deed to efcbbf4 Compare May 16, 2026 05:21
@36000

36000 commented May 18, 2026

Copy link
Copy Markdown
Collaborator Author

It worked, merging and releasing 3.1

@36000
36000 merged commit 10884dc into tractometry:main May 18, 2026
9 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