From e298daeef98d8a44a331ca6b353f1eec30c81c8f Mon Sep 17 00:00:00 2001 From: Eric Coissac Date: Mon, 13 Apr 2026 17:18:53 +0200 Subject: [PATCH] [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. --- pkg/obioptions/version.go | 2 +- version.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/obioptions/version.go b/pkg/obioptions/version.go index 75bc435..8d594c5 100644 --- a/pkg/obioptions/version.go +++ b/pkg/obioptions/version.go @@ -3,7 +3,7 @@ package obioptions // Version is automatically updated by the Makefile from version.txt // The patch number (third digit) is incremented on each push to the repository -var _Version = "Release 4.4.36" +var _Version = "Release 4.4.37" // Version returns the version of the obitools package. // diff --git a/version.txt b/version.txt index 09935ca..38507bc 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -4.4.36 +4.4.37