same as previous commit

This commit is contained in:
2022-08-21 13:43:27 +02:00
parent 34e957d3fb
commit 02f445f02f

View File

@ -1,11 +1,12 @@
package obiconvert
import (
log "github.com/sirupsen/logrus"
"os"
"path/filepath"
"strings"
log "github.com/sirupsen/logrus"
"git.metabarcoding.org/lecasofts/go/obitools/pkg/obiformats"
"git.metabarcoding.org/lecasofts/go/obitools/pkg/obiiter"
"git.metabarcoding.org/lecasofts/go/obitools/pkg/obioptions"
@ -136,7 +137,11 @@ func ReadBioSequencesBatch(filenames ...string) (obiiter.IBioSequenceBatch, erro
}
if len(others) > 0 {
iterator = iterator.Concat(others...)
if NoInputOrder() {
iterator = iterator.Pool(others...)
} else {
iterator = iterator.Concat(others...)
}
}
}