mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
Add some code refactoring from the blackboard branch
This commit is contained in:
@ -9,9 +9,11 @@ func (b BioSequenceBatch) IsPaired() bool {
|
||||
}
|
||||
|
||||
func (b BioSequenceBatch) PairedWith() BioSequenceBatch {
|
||||
return MakeBioSequenceBatch(b.order,
|
||||
*b.slice.PairedWith())
|
||||
|
||||
return MakeBioSequenceBatch(
|
||||
b.Source(),
|
||||
b.order,
|
||||
*b.slice.PairedWith(),
|
||||
)
|
||||
}
|
||||
|
||||
func (b *BioSequenceBatch) PairTo(p *BioSequenceBatch) {
|
||||
|
Reference in New Issue
Block a user