916c5ce3345c1e8aca35df47bc0838e1e3a9a2a0,lingpy/convert/html.py,,msa2html,#Any#Any#Any#Any#,312

Before Change


    // msa-format should be loaded first (once this is already provided), the
    // loss in speed won"t matter much, since output of data is not a daily task
    
    path = os.path.join(rcParams["_path"],"data","templates")

    // load templates
    template = template or os.path.join(path,"msa2html.html")
    if template == "js":
        template = os.path.join(path, "msa2html.js.html")
    html = util.read_text_file(template)
    css = util.read_text_file(keywords["css"] or os.path.join(path, "msa.css"))
    js = util.read_text_file(keywords["js"] or os.path.join(path,"msa.js"))

    // treat the msa-object as a file and try to load the file if this is the
    // case

After Change


        template = template_path("msa2html.js.html")
    html = util.read_text_file(template)
    css = util.read_text_file(keywords["css"] or template_path("msa.css"))
    js = util.read_text_file(keywords["js"] or template_path("msa.js"))

    // treat the msa-object as a file and try to load the file if this is the
    // case
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


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


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


Project Name: lingpy/lingpy
Commit Name: 916c5ce3345c1e8aca35df47bc0838e1e3a9a2a0
Time: 2014-12-12
Author: xrotwang@googlemail.com
File Name: lingpy/convert/html.py
Class Name:
Method Name: psa2html


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