[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
2026-04-13 17:18:53 +02:00
parent d9e6f67a6e
commit e298daeef9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
4.4.36
4.4.37