rename goutils to obiutils

Former-commit-id: 2147f53db972bba571dfdae30c51b62d3e69cec5
This commit is contained in:
2023-03-24 10:25:12 +07:00
parent 42aae88520
commit d5e84ec676
33 changed files with 245 additions and 156 deletions

View File

@ -10,8 +10,8 @@ import (
log "github.com/sirupsen/logrus"
"git.metabarcoding.org/lecasofts/go/obitools/pkg/goutils"
"git.metabarcoding.org/lecasofts/go/obitools/pkg/obiseq"
"git.metabarcoding.org/lecasofts/go/obitools/pkg/obiutils"
"github.com/tevino/abool/v2"
)
@ -375,7 +375,7 @@ func (iterator IBioSequence) Pool(iterators ...IBioSequence) IBioSequence {
allPaired = allPaired && i.IsPaired()
}
nextCounter := goutils.AtomicCounter()
nextCounter := obiutils.AtomicCounter()
newIter := MakeIBioSequence()
newIter.Add(niterator)

View File

@ -2,7 +2,7 @@ package obiiter
// func MakeSetAttributeWorker(rank string) obiiter.SeqWorker {
// if !goutils.Contains(taxonomy.RankList(), rank) {
// if !obiutils.Contains(taxonomy.RankList(), rank) {
// log.Fatalf("%s is not a valid rank (allowed ranks are %v)",
// rank,
// taxonomy.RankList())
@ -14,4 +14,4 @@ package obiiter
// }
// return w
// }
// }