Adds possibility to extract a taxonomy from taxonomic path included in sequence files

This commit is contained in:
Eric Coissac committed 2025-01-30 11:18:21 +01:00
1 parent 2452aef7a9
commit 0df082da06
20 files changed
+460 -173

No files matched your search

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