From 5d9ac261ffcfe3417be83ccca17d475942367e45 Mon Sep 17 00:00:00 2001 From: Eric Coissac Date: Mon, 1 Jul 2024 17:44:18 +0200 Subject: [PATCH] correct an attribute name Former-commit-id: 2bc540dc3863aef4f8745666047c2a7d94405343 --- pkg/obioptions/version.go | 2 +- pkg/obitools/obicleandb/obicleandb.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/obioptions/version.go b/pkg/obioptions/version.go index 2b6fa2a..f333547 100644 --- a/pkg/obioptions/version.go +++ b/pkg/obioptions/version.go @@ -7,7 +7,7 @@ import ( // TODO: The version number is extracted from git. This induces that the version // corresponds to the last commit, and not the one when the file will be // commited -var _Commit = "ea14e1a" +var _Commit = "e60b61d" var _Version = "Release 4.2.0" // Version returns the version of the obitools package. diff --git a/pkg/obitools/obicleandb/obicleandb.go b/pkg/obitools/obicleandb/obicleandb.go index a3cb7fe..7eafae7 100644 --- a/pkg/obitools/obicleandb/obicleandb.go +++ b/pkg/obitools/obicleandb/obicleandb.go @@ -94,7 +94,7 @@ func SequenceTrustSlice(sequences obiseq.BioSequenceSlice) (obiseq.BioSequenceSl } ngroup = max(0, ngroup) sa.SetAttribute("obicleandb_trusted", 1.0-1.0/float64(ngroup+1)) - sa.SetAttribute("obicleandb_on", ngroup) + sa.SetAttribute("obicleandb_trusted_on", ngroup) sa.SetAttribute("obicleandb_median", scoremed) sa.SetAttribute("obicleandb_ss", ss) }