Merge pull request #119 from metabarcoding/push-zrmnkuwsztxx

Release 4.4.45
This commit is contained in:
coissac
2026-06-02 15:02:42 +02:00
committed by GitHub
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ package obioptions
// Version is automatically updated by the Makefile from version.txt // Version is automatically updated by the Makefile from version.txt
// The patch number (third digit) is incremented on each push to the repository // 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. // Version returns the version of the obitools package.
// //
+2 -2
View File
@@ -141,14 +141,14 @@ var OBILang = gval.NewLanguage(
gval.Function("max", func(args ...interface{}) (interface{}, error) { gval.Function("max", func(args ...interface{}) (interface{}, error) {
return obiutils.Max(args[0]) 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]) result, err := obiutils.WhichMax(args[0])
if idx, ok := result.(int); ok { if idx, ok := result.(int); ok {
return float64(idx), nil return float64(idx), nil
} }
return result, err 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]) result, err := obiutils.WhichMin(args[0])
if idx, ok := result.(int); ok { if idx, ok := result.(int); ok {
return float64(idx), nil return float64(idx), nil
+1 -1
View File
@@ -1 +1 @@
4.4.44 4.4.45