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

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

src/e/t/ete-HEAD/tools/ete_tools/ete_merge.py   ete(Download)
        if len(out) > 1:
            try:
                tt.set_outgroup(tt.get_common_ancestor(out))
            except ValueError:
                tt.set_outgroup(tt.get_common_ancestor(out2))
        else:
            tt.set_outgroup(tt.search_nodes(name=out[0])[0])

src/e/t/ete-HEAD/tools/ete_tools/ete_dist.py   ete(Download)
        else:
            out = t.search_nodes(name=args.outgroup[0])[0]
        t.set_outgroup(out)
 
 
            else:
                out = tt.search_nodes(name=args.outgroup[0])[0]
            tt.set_outgroup(out)
 
        if args.target_trees:

src/e/t/ete-HEAD/tools/ete_tools/ete_stats.py   ete(Download)
            else:
                out = t.search_nodes(name=args.outgroup[0])[0]
            t.set_outgroup(out)
 
        most_distance_node, tree_length = t.get_farthest_leaf()

src/e/t/ete-HEAD/tools/ete_tools/ete_diff.py   ete(Download)
        t2.populate(20, names_library="abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ")
        #t2 = t1.copy()
        t1.set_outgroup("Z")
        t2.set_outgroup("Z")