-
Notifications
You must be signed in to change notification settings - Fork 82
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
[Search] Shapes are the wrong way around #2832
Comments
The values seem correct to me?
|
Maybe, I misunderstand the shape, isn't 0b1101 1101 (so your second example) and we get the result of the first and vice visa? |
Ok, I get it now that the snippet is correct :) The problem is that this inherits from the This means that seqan3::dynamic_bitset t1{0b1011'1000'1111};
seqan3::debug_stream << t1 << '\n'; // 1011'1000'1111
seqan3::debug_stream << t1[1] << '\n'; // 1 I.e., it prints left to right, but the indices go right to left (unless this is the actual bug, would need to check So, we could just call |
Sorry, for the wrong snippet, I got myself confused. 😅 Maybe, we mention this in the documentation? |
I reopen this because that shapes are "the wrong way around" might be a problem :) |
Maybe just adding some documentation would be enough? #2981 |
Yes, at the very least 👍 . We can talk in the meeting about it. Edit: How do shapes work in SeqAn2? |
Might be of interest when discussing this seqan/product_backlog#388 |
I think the kmer hash view does not work with views, which have shapes in the form 1101 or 1011.
My assumption is that the shift does not work correctly with these shapes, the only shapes we tested so far are shapes of the sort 1(any number of zeros)1.
The text was updated successfully, but these errors were encountered: