Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/e/t/ete-HEAD/tools/ete_tools/ete_diff.py   ete(Download)
            taxids.update([getattr(leaf, args.target_attr) for leaf in t2.iter_leaves()])
            taxid2name = ncbi.get_taxid_translator(taxids)
            for leaf in  t1.get_leaves()+t2.get_leaves():
                try:
                    leaf.name=taxid2name.get(int(leaf.name), leaf.name)