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/b/i/biopython-1.63/Bio/Phylo/NexusIO.py   biopython(Download)
    nexus_trees = [TREE_TEMPLATE % {'index': idx+1, 'tree': nwk}
                   for idx, nwk in enumerate(
                        writer.to_strings(plain=False, plain_newick=True,
                                          **kwargs))]
    tax_labels = [str(x) for x in chain(*(t.get_terminals() for t in trees))]

src/b/i/biopython-HEAD/Bio/Phylo/NexusIO.py   biopython(Download)
    nexus_trees = [TREE_TEMPLATE % {'index': idx+1, 'tree': nwk}
                   for idx, nwk in enumerate(
                        writer.to_strings(plain=False, plain_newick=True,
                                          **kwargs))]
    tax_labels = [str(x) for x in chain(*(t.get_terminals() for t in trees))]