8b6b1cafd5413c585117010a92112c784ac5b948,lingpy/convert/html.py,,msa2tex,#Any#Any#Any#Any#Any#,698

Before Change


    out = codecs.open(filename+".tex","w","utf-8")
    out.write(tex)
    out.close()
    if rcParams["verbose"]: print(rcParams["M_file_written"].format(filename+".tex"))


def tokens2html(
        string,
        swaps = [],
        tax_len = None,

After Change


    if not filename:
        filename = "lingpy-{0}"

    util.write_text_file(filename + ".tex", tex)


def tokens2html(
        string,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: lingpy/lingpy
Commit Name: 8b6b1cafd5413c585117010a92112c784ac5b948
Time: 2014-12-02
Author: xrotwang@googlemail.com
File Name: lingpy/convert/html.py
Class Name:
Method Name: msa2tex


Project Name: lingpy/lingpy
Commit Name: 8b6b1cafd5413c585117010a92112c784ac5b948
Time: 2014-12-02
Author: xrotwang@googlemail.com
File Name: lingpy/convert/html.py
Class Name:
Method Name: msa2html


Project Name: lingpy/lingpy
Commit Name: 8b6b1cafd5413c585117010a92112c784ac5b948
Time: 2014-12-02
Author: xrotwang@googlemail.com
File Name: lingpy/convert/html.py
Class Name:
Method Name: alm2html