8e06c0870f27b4959cc2627a4a9e6ad14c0d5d40,qcengine/programs/dftd3/runner.py,,run_json,#Any#,63

Before Change


    // pp.pprint(jobrec)

    // This is currently a forced override
    if jobrec["schema_name"] not in ["qc_schema_input", "qcschema_input"]:
        raise KeyError(fSchema name of "{jobrec["schema_name"]}" not understood.)

    if jobrec["schema_version"] != 1:
        raise KeyError(fSchema version of "{jobrec["schema_version"]}" not understood.)

    jobrec["provenance"] = provenance_stamp(sys._getframe().f_code.co_name + "." + __name__)

After Change


    // }

    if jobrec["driver"].derint() > 1:
        jobrec["success"] = False
        jobrec["error"] = {
            "error_type": "ValueError",
            "error_message": DFTD3 produces max gradient, not {jobrec["driver"]}
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: MolSSI/QCEngine
Commit Name: 8e06c0870f27b4959cc2627a4a9e6ad14c0d5d40
Time: 2019-03-15
Author: lori.burns@gmail.com
File Name: qcengine/programs/dftd3/runner.py
Class Name:
Method Name: run_json


Project Name: theislab/scanpy
Commit Name: c5c2d65ebd3ee375fa9855c326d88646ee403aa7
Time: 2020-12-03
Author: fidel.ramirez@gmail.com
File Name: scanpy/get.py
Class Name:
Method Name: obs_df


Project Name: explosion/thinc
Commit Name: c05b727cd72d4c9d88d62944e3f71dfd8ebf9353
Time: 2017-01-12
Author: honnibal+gh@gmail.com
File Name: thinc/neural/mem.py
Class Name: Memory
Method Name: get