Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor bug in filtering predict table #2152

Merged
merged 1 commit into from
Apr 25, 2024
Merged

Conversation

samnlindsay
Copy link
Contributor

Type of PR

  • BUG
  • FEAT
  • MAINT
  • DOC

Is your Pull Request linked to an existing Issue or Pull Request?

No (sorry). I noticed this issue while running linker.predict(threshold_match_weight=0.0) and finding that the predictions table wasn't being filtered as expected.

Give a brief description for the solution you have provided

Check for if threshold_match_weight is not None (evaluates to True when threshold is 0.0) rather than if threshold_match_weight.

@RobinL
Copy link
Member

RobinL commented Apr 25, 2024

Thanks!

@RobinL RobinL merged commit 86f955c into master Apr 25, 2024
10 checks passed
@RobinL RobinL deleted the bugfix_predict_threshold branch April 25, 2024 08:27
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