some cleaning

This commit is contained in:
Eric Coissac
2025-02-24 11:31:49 +01:00
parent 8671285d02
commit 51b3e83d32
7 changed files with 64 additions and 97 deletions

View File

@@ -31,7 +31,7 @@ func TaxonomyClassifier(taxonomicRank string,
if taxon != nil {
ttaxon := taxon.TaxonAtRank(taxonomicRank)
if abortOnMissing && ttaxon == nil {
log.Fatalf("Taxon at rank %s not found in taxonomy for taxid %d", taxonomicRank, taxon.String())
log.Fatalf("Taxon at rank %s not found in taxonomy for taxid %s", taxonomicRank, taxon.String())
}
} else {
if abortOnMissing {