67136779f681f817f3e4ec4cb9a4656c0a49b6e3,chainer_chemistry/datasets/molnet/molnet.py,,get_molnet_filepath,#Any#Any#Any#,132

Before Change


    Returns (str): filepath for specific MoleculeNet dataset

    
    if filetype not in ["onefile", "train", "valid", "test"]:
        raise ValueError("Please choose filetype from {}".format(
            ["onefile", "train", "valid", "test"]))
    if filetype == "onefile":
        url_key = "url"
    else:
        url_key = filetype + "_url"

After Change


    Returns (str): filepath for specific MoleculeNet dataset

    
    filetype_supported = ["onefile", "train", "valid", "test"]
    if filetype not in filetype_supported:
        raise ValueError("filetype {} not supported, please choose filetype "
                         "from {}".format(filetype, filetype_supported))
    if filetype == "onefile":
        url_key = "url"
    else:
        url_key = filetype + "_url"
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 10

Instances


Project Name: pfnet-research/chainer-chemistry
Commit Name: 67136779f681f817f3e4ec4cb9a4656c0a49b6e3
Time: 2018-07-10
Author: acc1ssnn9terias@gmail.com
File Name: chainer_chemistry/datasets/molnet/molnet.py
Class Name:
Method Name: get_molnet_filepath


Project Name: scipy/scipy
Commit Name: f7d001566c4bb5cd26e8009130edff938397b43d
Time: 2017-02-13
Author: eric.antonio.quintero@gmail.com
File Name: scipy/signal/spectral.py
Class Name:
Method Name: _spectral_helper


Project Name: pantsbuild/pants
Commit Name: f9b1009b40b31d4dc7e71b558e0056488e904175
Time: 2014-08-21
Author: jinfeng@outlook.com
File Name: src/python/pants/backend/core/tasks/targets_help.py
Class Name: TargetsHelp
Method Name: console_output