-
Notifications
You must be signed in to change notification settings - Fork 129
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
kmer_finder test failing in architecture i386 #730
Comments
Thanks for the report. It’s possible that the test failure actually indicates the code won’t work on 32 bit because I see a hardcoded |
Isn't it more convenient to not support i386? I mean, you have done your wonderful cutting in cutadapt... And then, what? You are going to try assembly or mapping on a platform that can only address 2GiB of memory? Anyway, I think the most convenient fix is to change this line: https://github.com/marcelm/cutadapt/blob/main/src/cutadapt/_kmer_finder.pyx#L49C1-L49C26 And not use size_t, but use uint64_t instead. Then it should work on 32-bit as well. (Allthough it will be much slower than using a size_t) |
I made a small patch #731. @linqigang888 does that fix your problem? |
Thank you. I have replaced the patch in Debian with #731. |
Awesome! Always glad to help out Debian. My favourite operating system ❤️. Thank you for maintaining cutadapt in the Debian repos! |
While preparing to bring cutadapt 4.4 with Python 3.11 into Debian, the tests for kmer_finder worked as expected in amd64, but for i386, test_kmer_finder_initialize_total_greater_than_max resulted in the following error:
Here is the current patch prepared for Debian to accept differing test results:
I am sure this test could be handled differently, so I have left it as an issue instead of a pr.
The text was updated successfully, but these errors were encountered: