mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-12-13 18:50:26 +00:00
Add some code refactoring from the blackboard branch
This commit is contained in:
@@ -103,7 +103,7 @@ func MapOnLandmarkSequences(library obiseq.BioSequenceSlice, landmark_idx []int,
|
||||
// which landmark it corresponds.
|
||||
func CLISelectLandmarkSequences(iterator obiiter.IBioSequence) obiiter.IBioSequence {
|
||||
|
||||
library := iterator.Load()
|
||||
source, library := iterator.Load()
|
||||
|
||||
library_size := len(library)
|
||||
n_landmark := CLINCenter()
|
||||
@@ -191,6 +191,6 @@ func CLISelectLandmarkSequences(iterator obiiter.IBioSequence) obiiter.IBioSeque
|
||||
}
|
||||
}
|
||||
|
||||
return obiiter.IBatchOver(library, obioptions.CLIBatchSize())
|
||||
return obiiter.IBatchOver(source, library, obioptions.CLIBatchSize())
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user