mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
Refactoring of some code
This commit is contained in:
@ -2,7 +2,6 @@ package obitax
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
type TaxName struct {
|
||||
@ -63,7 +62,6 @@ func (taxonomy *Taxonomy) Taxon(taxid int) (*TaxNode, error) {
|
||||
if !aok {
|
||||
return nil, fmt.Errorf("Taxid %d is not part of the taxonomy", taxid)
|
||||
}
|
||||
log.Printf("Taxid %d is deprecated and must be replaced by %d", taxid, a.taxid)
|
||||
t = a
|
||||
}
|
||||
return t, nil
|
||||
|
Reference in New Issue
Block a user