From 2edb33ad089b7c0415c40f7bd99918b616616c09 Mon Sep 17 00:00:00 2001 From: Eric Coissac Date: Tue, 2 Jun 2026 14:59:48 +0200 Subject: [PATCH 1/2] fix: correct duplicated typos in GVal function names Corrects duplicated typos in the registered GVal function names, changing "which_maxwhichmax" and "which_minwhichmin" to "which_max" and "which_min". The underlying obiutils.WhichMax/WhichMin logic and its int-to-float64 index conversion remain unchanged. --- pkg/obiseq/language.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/obiseq/language.go b/pkg/obiseq/language.go index 4738274..949082b 100644 --- a/pkg/obiseq/language.go +++ b/pkg/obiseq/language.go @@ -141,14 +141,14 @@ var OBILang = gval.NewLanguage( gval.Function("max", func(args ...interface{}) (interface{}, error) { return obiutils.Max(args[0]) }), - gval.Function("which_max", func(args ...interface{}) (interface{}, error) { + gval.Function("whichmax", func(args ...interface{}) (interface{}, error) { result, err := obiutils.WhichMax(args[0]) if idx, ok := result.(int); ok { return float64(idx), nil } return result, err }), - gval.Function("which_min", func(args ...interface{}) (interface{}, error) { + gval.Function("whichmin", func(args ...interface{}) (interface{}, error) { result, err := obiutils.WhichMin(args[0]) if idx, ok := result.(int); ok { return float64(idx), nil From 578445f38a94d4b6d344b526a7828298c6d1147e Mon Sep 17 00:00:00 2001 From: Eric Coissac Date: Tue, 2 Jun 2026 15:01:31 +0200 Subject: [PATCH 2/2] Release 4.4.45 --- 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 189dfab..bb9c69c 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.44" +var _Version = "Release 4.4.45" // Version returns the version of the obitools package. // diff --git a/version.txt b/version.txt index 06aaa0b..6d15861 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -4.4.44 +4.4.45