mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
Rename the Length methods Len to follow GO standart
This commit is contained in:
@ -97,14 +97,14 @@ func ISequenceSubChunk(iterator obiiter.IBioSequenceBatch,
|
||||
|
||||
batch := iterator.Get()
|
||||
|
||||
if batch.Length() > 1 {
|
||||
if batch.Len() > 1 {
|
||||
classifier.Reset()
|
||||
|
||||
if cap(ordered) < batch.Length() {
|
||||
log.Debugln("Allocate a new ordered sequences : ", batch.Length())
|
||||
ordered = make([]sSS, batch.Length())
|
||||
if cap(ordered) < batch.Len() {
|
||||
log.Debugln("Allocate a new ordered sequences : ", batch.Len())
|
||||
ordered = make([]sSS, batch.Len())
|
||||
} else {
|
||||
ordered = ordered[:batch.Length()]
|
||||
ordered = ordered[:batch.Len()]
|
||||
}
|
||||
|
||||
for i, s := range batch.Slice() {
|
||||
|
Reference in New Issue
Block a user