mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-11-09 17:24:41 +00:00
Add some code refactoring from the blackboard branch
This commit is contained in:
1 parent
bc1aaaf7d9
commit
1b1cd41fd3
38 files changed
+491
-330
No files matched your search
@@ -69,7 +69,7 @@ func _FastseqReader(source string,
|
||||
slice = append(slice, rep)
|
||||
ii++
|
||||
if ii >= batch_size {
|
||||
iterator.Push(obiiter.MakeBioSequenceBatch(i, slice))
|
||||
iterator.Push(obiiter.MakeBioSequenceBatch(source, i, slice))
|
||||
slice = obiseq.MakeBioSequenceSlice()
|
||||
i++
|
||||
ii = 0
|
||||
@@ -77,7 +77,7 @@ func _FastseqReader(source string,
|
||||
|
||||
}
|
||||
if len(slice) > 0 {
|
||||
iterator.Push(obiiter.MakeBioSequenceBatch(i, slice))
|
||||
iterator.Push(obiiter.MakeBioSequenceBatch(source, i, slice))
|
||||
}
|
||||
iterator.Done()
|
||||
|
||||
|
||||
Reference in new issue
Block a user