8b6b1cafd5413c585117010a92112c784ac5b948,lingpy/convert/html.py,,msa2html,#Any#Any#Any#Any#,384
Before Change
if keywords["write_to_file"]:
// check, whether the outfile already exists
outf = codecs.open(filename,"w","utf-8")
outf.write(html)
outf.close()
if rcParams["verbose"]: print(rcParams["M_file_written"].format(filename))
else:
return html
After Change
if keywords["write_to_file"]:
// check, whether the outfile already exists
util.write_text_file(filename, html)
else:
return html
def string2html(
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
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: 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: 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
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