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

MRG: Fix scaled determination in fastgather and fastmultigather #498

Merged
merged 18 commits into from
Nov 7, 2024
Merged

Conversation

ctb
Copy link
Collaborator

@ctb ctb commented Nov 4, 2024

Fixes #491

This PR updates fastgather and fastmultigather against rocksdb to pick scaled automatically, rather than using a default value of 1000. fastmultigather now exits when no search sketches are found.

scaled=1000 is removed as the default throughout.

It also eliminates the use of usize throughout the codebase in favor of u32/u64, following sourmash-bio/sourmash#3364.

TODO:

Base automatically changed from rename_to_rocksdb to main November 4, 2024 17:50
* debug gather scaled problem

* cleanup & rationalize

* more cleanup
@ctb ctb changed the title WIP: Fix scaled calculation in fastmultigather WIP: Fix scaled determination in fastgather and fastmultigather Nov 4, 2024
@ctb ctb changed the title WIP: Fix scaled determination in fastgather and fastmultigather MRG: Fix scaled determination in fastgather and fastmultigather Nov 6, 2024
@ctb
Copy link
Collaborator Author

ctb commented Nov 6, 2024

Ready for review & merge @bluegenes !

Copy link
Contributor

@bluegenes bluegenes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ctb ctb merged commit 2080ac3 into main Nov 7, 2024
3 checks passed
@ctb ctb deleted the fix_scaled branch November 7, 2024 00:41
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.

check scaled bug on rocksdb-based fastmultigather
2 participants