396ce93cbd6bb6af2eae4f466b6ebf416e40ec4f,pyglmnet/datasets.py,,fetch_tikhonov_data,#Any#,8

Before Change


    url = ("https://raw.githubusercontent.com/"
           "glm-tools/datasets/master/tikhonov/fixations.csv")
    cmd = "curl -o " + fname + " " + url
    subprocess.call(cmd, shell=True)
    fixations_df = pd.read_csv(fname)

    fname = dpath + "/" + "probes.csv"
    url = ("https://raw.githubusercontent.com/"
           "glm-tools/datasets/master/tikhonov/probes.csv")
    cmd = "curl -o " + fname + " " + url
    subprocess.call(cmd, shell=True)
    probes_df = pd.read_csv(fname)

    fname = dpath + "/" + "spiketimes.csv"
    url = ("https://raw.githubusercontent.com/"

After Change


    cmd = "mkdir " + dpath
    subprocess.call(cmd, shell=True)

    fname = os.path.join(dpath, "fixations.csv")
    url = ("https://raw.githubusercontent.com/"
           "glm-tools/datasets/master/tikhonov/fixations.csv")
    urllib.urlretrieve(url, fname)
    fixations_df = pd.read_csv(fname)

    fname = os.path.join(dpath, "probes.csv")
    url = ("https://raw.githubusercontent.com/"
           "glm-tools/datasets/master/tikhonov/probes.csv")
    urllib.urlretrieve(url, fname)
    probes_df = pd.read_csv(fname)

    fname = os.path.join(dpath, "spiketimes.csv")
    url = ("https://raw.githubusercontent.com/"
           "glm-tools/datasets/master/tikhonov/spiketimes.csv")
    urllib.urlretrieve(url, fname)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: glm-tools/pyglmnet
Commit Name: 396ce93cbd6bb6af2eae4f466b6ebf416e40ec4f
Time: 2016-11-07
Author: pavan.ramkumar@gmail.com
File Name: pyglmnet/datasets.py
Class Name:
Method Name: fetch_tikhonov_data


Project Name: glm-tools/pyglmnet
Commit Name: 396ce93cbd6bb6af2eae4f466b6ebf416e40ec4f
Time: 2016-11-07
Author: pavan.ramkumar@gmail.com
File Name: pyglmnet/datasets.py
Class Name:
Method Name: fetch_tikhonov_data


Project Name: glm-tools/pyglmnet
Commit Name: d936bce01a6b107ff8ffc36e075083cc6741465f
Time: 2016-11-07
Author: pavan.ramkumar@gmail.com
File Name: pyglmnet/datasets.py
Class Name:
Method Name: fetch_tikhonov_data


Project Name: tryolabs/luminoth
Commit Name: 7bf44d7608c6d91f45695d1bb1d910a440aa449c
Time: 2018-11-06
Author: dekked@gmail.com
File Name: luminoth/tools/cloud/gcloud.py
Class Name:
Method Name: build_package