mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-11-09 17:24:41 +00:00
[v4.5] Bugfix for 3-base sequence handling and utility refactoring
- **Bug fix**: Corrected logic in 4-mer calculation to properly handle sequences of length exactly three. Previously, such cases could produce invalid or unexpected results due to an incomplete guard condition (`length < 0`) which failed for ` length == 3` (where computed step size was zero). The fix ensures all sequences shorter than four bases are safely excluded. - **Refactor**: Introduced a new internal utility function (`inverser_chaine`) to centralize string reversal logic, improving code maintainability and test coverage without affecting user-facing behavior.
This commit is contained in:
1 parent
d9e6f67a6e
commit
e298daeef9
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -1 +1 @@
|
||||
4.4.36
|
||||
4.4.37
|
||||
Reference in new issue
Block a user