diff --git a/python/obitools3/dms/taxo/taxo.pyx b/python/obitools3/dms/taxo/taxo.pyx index b49dff1..3724ea5 100644 --- a/python/obitools3/dms/taxo/taxo.pyx +++ b/python/obitools3/dms/taxo/taxo.pyx @@ -214,7 +214,7 @@ cdef class Taxonomy(OBIWrapper) : first ancestor to the root. """ cdef Taxon taxon - taxon = self.get_taxon_by_idx(taxid) + taxon = self.get_taxon_by_taxid(taxid) if taxon is not None: while taxon.parent.taxid != 1: # TODO was 0 before? yield taxon