def athalianatruth(args):
    p = OptionParser(athalianatruth.__doc__)
    opts, args = p.parse_args(args)

    if len(args) != 2:
        sys.exit(not p.print_help())

    atxt, bctxt = args
    g = Grouper()
    pairs = set()
    for txt in (atxt, bctxt):
        extract_groups(g, pairs, txt)

    fw = open("pairs", "w")
    for pair in sorted(pairs):
        print >> fw, "\t".join(pair)
    fw.close()

    fw = open("groups", "w")
    for group in list(g):
        print >> fw, ",".join(group)
    fw.close()
A label is rendered as an attribute on the option element.
dataset/ETHPy150Open tanghaibao/jcvi/projects/synfind.py/athalianatruth--crossover with--dataset/ETHPy150Open ralphm/wokkel/wokkel/test/test_data_form.py/OptionTest.test_toElementLabel