mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
Adds possibility to extract a taxonomy from taxonomic path included in sequence files
This commit is contained in:
@ -218,9 +218,9 @@ func (taxon *Taxon) ISubTaxonomy() *ITaxon {
|
||||
}
|
||||
|
||||
func (taxonomy *Taxonomy) ISubTaxonomy(taxid string) *ITaxon {
|
||||
taxon := taxonomy.Taxon(taxid)
|
||||
taxon, err := taxonomy.Taxon(taxid)
|
||||
|
||||
if taxon == nil {
|
||||
if err != nil {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user