small refactoring including doc

Former-commit-id: 6d6b527d89d77aa571831f7500f841840e280536
This commit is contained in:
coissac committed 2023-08-27 15:52:28 +02:00
1 parent f1025f97b8
commit 7b7128196a
4 files changed
+17 -8

No files matched your search

+2 -2
View File
@@ -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]
}