5928cb36cc84496ff3521e41b24dd2e15c7f13ba,qcengine/programs/intf_dftd3/runner.py,,run_dftd3_from_arrays,#Any#Any#Any#Any#Any#Any#Any#,85

Before Change


        dftd3_driver(jobrec)
    except Exception as err:
        jobrec["success"] = False
        jobrec["error"] += repr(err)
        raise RuntimeError(err) from err
    else:
        jobrec["success"] = True
        jobrec["qcvars"]["CURRENT ENERGY"] = copy.deepcopy(jobrec["qcvars"]["DISPERSION CORRECTION ENERGY"])

After Change


    opts["dashcoeff_supplement"] = dashcoeff_supplement

    jobrec.update(qcel.molparse.to_schema(molrec, dtype=1))  // --> jobrec["molecule"] =
    jobrec["model"] = {
        "method": name_hint,
        "basis": "(auto)",
    }
    _, jobrec["driver"] = parse_dertype(ptype, max_derivative=1)
    jobrec["options"] = opts
    //jobrec["options"] = copy.deepcopy(options)

    try:
        dftd3_driver(jobrec)
    except Exception as exc:
        import traceback
        jobrec["success"] = False
        jobrec["error"] = {
            "error_type": type(exc).__name__,
            "error_message": "".join(traceback.format_exception(*sys.exc_info())),
        }
        raise exc

    jobrec["success"] = True
    jobrec["qcvars"]["CURRENT ENERGY"] = copy.deepcopy(jobrec["qcvars"]["DISPERSION CORRECTION ENERGY"])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: MolSSI/QCEngine
Commit Name: 5928cb36cc84496ff3521e41b24dd2e15c7f13ba
Time: 2019-02-18
Author: lori.burns@gmail.com
File Name: qcengine/programs/intf_dftd3/runner.py
Class Name:
Method Name: run_dftd3_from_arrays


Project Name: flow-project/flow
Commit Name: 4956dc485f78ef2b7c5f4a13f8abb7a24cfbb1bb
Time: 2018-09-16
Author: vinitsky.eugene@gmail.com
File Name: flow/scenarios/highway/gen.py
Class Name: HighwayGenerator
Method Name: specify_nodes


Project Name: MolSSI/QCEngine
Commit Name: 5928cb36cc84496ff3521e41b24dd2e15c7f13ba
Time: 2019-02-18
Author: lori.burns@gmail.com
File Name: qcengine/programs/intf_dftd3/runner.py
Class Name:
Method Name: run_dftd3_from_arrays


Project Name: MolSSI/QCEngine
Commit Name: 5928cb36cc84496ff3521e41b24dd2e15c7f13ba
Time: 2019-02-18
Author: lori.burns@gmail.com
File Name: qcengine/programs/intf_dftd3/runner.py
Class Name:
Method Name: run_dftd3