-
Notifications
You must be signed in to change notification settings - Fork 80
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
define a canonical way to check compatibility of MinHash objects in Python #1107
Comments
(for now, I'm using |
I think so. There is a |
is there any reason to not use the minhash function |
I ...somehow missed it. Thank you!
best,
--titus
On Mon, Jul 20, 2020 at 02:56:40PM -0700, Erik Young wrote:
is there any reason to not use the minhash function `is_compatible(self, other_minhash)`? From what I can understand, it calls the rust `check_compatible` function you mentioned earlier. I'll push the line I added to the `intersect(...)` function.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#1107 (comment)
--
C. Titus Brown, ctbrown@ucdavis.edu
|
Great catch! |
I'm running into a bug in
sourmash sig intersect
where it doesn't check the compatibility of the MinHash objects (ksize, moltype, etc.) before doing the intersection. What's the canonical way to do this?The Rust API defines a
check_compatible
function - @luizirber is this an appropriate function to expose via the Python API?The text was updated successfully, but these errors were encountered: