8561e951aa162ef48ef73ba78f675cfe88f0c180,qcengine/programs/turbomole/harvester.py,,harvest,#Any#Any#,7

Before Change


    qcvars = PreservingDict()

    // Total energy from dscf or ridft
    total_energy_re = re.compile("total energy\s+=\s+([\d\-\.]+)")
    mobj = total_energy_re.search(stdout)
    total_energy = Decimal(mobj[1])

    // Check for DFT, default to HF

After Change


    ref_energy_dict = parse_reference_energy(stdout)
    qcvars.update(ref_energy_dict)

    if "R I C C 2" in stdout:
        ricc2_dict = parse_ricc2(stdout)
        qcvars.update(ricc2_dict)

    gradient = None
    hessian = None
    return qcvars, gradient, hessian
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: MolSSI/QCEngine
Commit Name: 8561e951aa162ef48ef73ba78f675cfe88f0c180
Time: 2019-09-25
Author: jsteinmetzer1108@aol.com
File Name: qcengine/programs/turbomole/harvester.py
Class Name:
Method Name: harvest


Project Name: XanaduAI/strawberryfields
Commit Name: 54490931368be926996b86a68c2d1083c1779d47
Time: 2020-07-27
Author: theodor@xanadu.ai
File Name: strawberryfields/io.py
Class Name:
Method Name: to_program


Project Name: deepmipt/DeepPavlov
Commit Name: ca0aca8a9219b0ef5382cdf88c2aa5343cf0d954
Time: 2019-03-22
Author: dilyara.rimovna@gmail.com
File Name: deeppavlov/models/classifiers/keras_classification_model.py
Class Name: KerasClassificationModel
Method Name: __init__