mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-12-08 16:50:27 +00:00
correction of several small bugs
This commit is contained in:
@@ -65,7 +65,7 @@ type BioSequence struct {
|
||||
feature []byte
|
||||
paired *BioSequence // A pointer to the paired sequence
|
||||
annotations Annotation
|
||||
annot_lock sync.Mutex
|
||||
annot_lock *sync.Mutex
|
||||
}
|
||||
|
||||
// NewEmptyBioSequence creates a new BioSequence object with an empty sequence.
|
||||
@@ -90,7 +90,7 @@ func NewEmptyBioSequence(preallocate int) *BioSequence {
|
||||
feature: nil,
|
||||
paired: nil,
|
||||
annotations: nil,
|
||||
annot_lock: sync.Mutex{},
|
||||
annot_lock: &sync.Mutex{},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user