mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-12-08 16:50:27 +00:00
Swich to the system min and max functions and remove the version from obiutils
Former-commit-id: 8c4558921b0d0c266b070f16e83813de6e6d4a0f
This commit is contained in:
@@ -10,7 +10,6 @@ import (
|
||||
"slices"
|
||||
|
||||
"git.metabarcoding.org/obitools/obitools4/obitools4/pkg/obiseq"
|
||||
"git.metabarcoding.org/obitools/obitools4/obitools4/pkg/obiutils"
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
@@ -472,7 +471,7 @@ func (graph *DeBruijnGraph) Gml() string {
|
||||
n := graph.Nexts(idx)
|
||||
for _, dst := range n {
|
||||
dstid := nodeidx[dst]
|
||||
weight := obiutils.Min(graph.Weight(dst), weight)
|
||||
weight := min(graph.Weight(dst), weight)
|
||||
label := decode[dst&3]
|
||||
buffer.WriteString(
|
||||
fmt.Sprintf(`edge [ source "%d"
|
||||
|
||||
Reference in New Issue
Block a user