Change the annotation locker to a pointer to mutex to avoid coying mutex

Former-commit-id: d179d8753b593183312bd11184e5d8ebb301138a
This commit is contained in:
2023-08-27 16:00:35 +02:00
parent 7b7128196a
commit 18d3eec24a
4 changed files with 101 additions and 100 deletions

View File

@ -43,7 +43,7 @@ func (taxonomy *Taxonomy) TaxonomicDistribution(sequence *obiseq.BioSequence) ma
t, et := taxonomy.Taxon(taxid)
if et != nil {
log.Panicf("Taxid %d not defined in taxonomy : %v", k, et)
log.Panicf("Taxid %d not defined in taxonomy : %v", taxid, et)
}
taxons[t] = v
}