mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-11-10 01:24:41 +00:00
Adds the --silent-warning options to the obitools commands and removes the --pared-with option from some of the obitols commands.
This commit is contained in:
1 parent
2ab6f67d58
commit
5a3705b6bb
52 files changed
+151
-90
No files matched your search
@@ -8,6 +8,7 @@ import (
|
||||
"golang.org/x/exp/rand"
|
||||
"gonum.org/v1/gonum/stat/sampleuv"
|
||||
|
||||
"git.metabarcoding.org/obitools/obitools4/obitools4/pkg/obilog"
|
||||
"git.metabarcoding.org/obitools/obitools4/obitools4/pkg/obiutils"
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
@@ -280,7 +281,7 @@ func (clustering *KmeansClustering) AssignToClass() {
|
||||
nreset := clustering.ResetEmptyCenters()
|
||||
|
||||
if nreset > 0 {
|
||||
log.Warnf("Reseted %d empty centers", nreset)
|
||||
obilog.Warnf("Reseted %d empty centers", nreset)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user