mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
Adds a test for not pushing empty batch on the output
This commit is contained in:
@ -598,7 +598,9 @@ func (iterator IBioSequenceBatch) FilterOn(predicate obiseq.SequencePredicate,
|
|||||||
}
|
}
|
||||||
|
|
||||||
seqs.slice = slice[:j]
|
seqs.slice = slice[:j]
|
||||||
trueIter.Push(seqs)
|
if seqs.Length() > 0 {
|
||||||
|
trueIter.Push(seqs)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
trueIter.Done()
|
trueIter.Done()
|
||||||
|
Reference in New Issue
Block a user