dcf2b18671089d792ad25e3063b0829587fe08f4,kmapper/kmapper.py,KeplerMapper,visualize,#KeplerMapper#,311

Before Change


        module_root = os.path.join(os.path.dirname(__file__), "templates")

        env = Environment(loader=FileSystemLoader(module_root))
        env.globals["STATIC_PREFIX"] = os.path.join(module_root, "static")

        // Render the Jinja template, filling fields as appropriate
        template = env.get_template("base.html").render(

After Change



        // Find the absolute module path and the static files
        js_path = os.path.join(os.path.dirname(__file__), "static", "kmapper.js")
        with open(js_path, "r") as myfile:
            js_text = myfile.read()
        css_path = os.path.join(os.path.dirname(__file__), "static", "style.css")
        with open(css_path, "r") as myfile:
            css_text = myfile.read()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: MLWave/kepler-mapper
Commit Name: dcf2b18671089d792ad25e3063b0829587fe08f4
Time: 2018-01-11
Author: mangham@gmail.com
File Name: kmapper/kmapper.py
Class Name: KeplerMapper
Method Name: visualize


Project Name: YerevaNN/mimic3-benchmarks
Commit Name: 7567cc646d258e40dde9790a28a9b264ccd494fb
Time: 2017-08-27
Author: harhro@gmail.com
File Name: mimic3models/split_train_val.py
Class Name:
Method Name:


Project Name: dit/dit
Commit Name: 03c767ba99ab2e46e97dc5c27a133fa2c3830aaa
Time: 2015-03-14
Author: ryangregoryjames@gmail.com
File Name: setup.py
Class Name:
Method Name: main


Project Name: YerevaNN/mimic3-benchmarks
Commit Name: 5d353701dd56a1fc8abc15e4082e33b7bed2a241
Time: 2017-08-09
Author: harhro@gmail.com
File Name: mimic3models/split_train_val.py
Class Name:
Method Name: