mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-12-08 16:50:27 +00:00
small refactoring including doc
Former-commit-id: 6d6b527d89d77aa571831f7500f841840e280536
This commit is contained in:
@@ -71,7 +71,7 @@ func AnnotationClassifier(key string, na string) *BioSequenceClassifier {
|
||||
locke.RLock()
|
||||
defer locke.RUnlock()
|
||||
if k >= maxcode {
|
||||
log.Fatalf("value %d not register")
|
||||
log.Fatalf("value %d not register", k)
|
||||
}
|
||||
return decode[k]
|
||||
}
|
||||
@@ -154,7 +154,7 @@ func DualAnnotationClassifier(key1, key2 string, na string) *BioSequenceClassifi
|
||||
locke.RLock()
|
||||
defer locke.RUnlock()
|
||||
if k >= maxcode {
|
||||
log.Fatalf("value %d not register")
|
||||
log.Fatalf("value %d not register", k)
|
||||
}
|
||||
return decode[k]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user