b46114a5b8076c38e765811bd6d55ed2930d9975,lingpy/convert/html.py,,alm2html,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,53

Before Change


        filename = rcParams["filename"]
    
    // read in the templates
    path = os.path.dirname(os.path.realpath(__file__))
    
    if main_template:
        try:
            html = codecs.open(main_template,"r","utf-8").read()

After Change


        filename = rcParams["filename"]
    
    // read in the templates
    path = os.path.join(rcParams["_path"],"data","templates")
    
    if main_template:
        html = codecs.open(main_template,"r","utf-8").read()
    else:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: lingpy/lingpy
Commit Name: b46114a5b8076c38e765811bd6d55ed2930d9975
Time: 2013-11-14
Author: mattis.list@posteo.de
File Name: lingpy/convert/html.py
Class Name:
Method Name: alm2html


Project Name: NervanaSystems/nlp-architect
Commit Name: de2fda821ec02eee57449de9562f80f5993e65ce
Time: 2018-11-25
Author: peteriz@users.noreply.github.com
File Name: nlp_architect/pipelines/spacy_bist.py
Class Name: SpacyBISTParser
Method Name: SpacyBISTParser_1


Project Name: NervanaSystems/nlp-architect
Commit Name: de2fda821ec02eee57449de9562f80f5993e65ce
Time: 2018-11-25
Author: peteriz@users.noreply.github.com
File Name: nlp_architect/api/machine_comprehension_api.py
Class Name: MachineComprehensionApi
Method Name: MachineComprehensionApi_1