dc6a6bcf9b38013bc685925ec142f57c8206f44b,chemml/datasets/base.py,,load_xyz_polarizability,#,90

Before Change


                       path_root=DATA_PATH,
                       reader="manual",
                       skip_lines=[2, 0])
    coordinates = reader.read()
    df = pd.read_csv(os.path.join(DATA_PATH,"pol.csv"))
    return coordinates, df

After Change


    //                    reader="manual",
    //                    skip_lines=[2, 0])
    // molecules = reader.read()
    molecules = []
    for i in range(1,51):
        molecule = Molecule(os.path.join(DATA_PATH,"%i_opt.xyz"%i), "xyz")
        molecules.append(molecule)

    df = pd.read_csv(os.path.join(DATA_PATH,"pol.csv"))
    return molecules, df

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: hachmannlab/chemml
Commit Name: dc6a6bcf9b38013bc685925ec142f57c8206f44b
Time: 2019-04-02
Author: mojtabah@buffalo.edu
File Name: chemml/datasets/base.py
Class Name:
Method Name: load_xyz_polarizability


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 7e2ce3a6cd51b21218ccc281dc21626153221778
Time: 2020-11-19
Author: pclay@google.com
File Name: perfkitbenchmarker/scripts/spark_sql_runner.py
Class Name:
Method Name: main


Project Name: facebookresearch/ParlAI
Commit Name: f942c628ed4dc69d1ff239e1d89b26e2807099af
Time: 2020-06-24
Author: roller@fb.com
File Name: setup.py
Class Name:
Method Name: