mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-11-09 17:24:41 +00:00
Patch a bug on the FilterOn method
This commit is contained in:
1 parent
ad4a861261
commit
eca1af9957
1 file changed
+2
-2
@@ -631,7 +631,7 @@ func (iterator IBioSequenceBatch) FilterOn(predicate obiseq.SequencePredicate,
|
||||
}()
|
||||
|
||||
ff := func(iterator IBioSequenceBatch) {
|
||||
iterator = iterator.SortBatches()
|
||||
// iterator = iterator.SortBatches()
|
||||
|
||||
for iterator.Next() {
|
||||
seqs := iterator.Get()
|
||||
@@ -661,7 +661,7 @@ func (iterator IBioSequenceBatch) FilterOn(predicate obiseq.SequencePredicate,
|
||||
|
||||
go ff(iterator)
|
||||
|
||||
return trueIter.Rebatch(size)
|
||||
return trueIter.SortBatches().Rebatch(size)
|
||||
}
|
||||
|
||||
// Load every sequences availables from an IBioSequenceBatch iterator into
|
||||
|
||||
Reference in new issue
Block a user