[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:
Eric Coissac committed 2026-04-13 17:18:53 +02:00
1 parent d9e6f67a6e
commit e298daeef9
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1 +1 @@
4.4.36
4.4.37