1895a1e954eb0ee668deffe0de9b2207b5c04c9c,qcengine/programs/mp2d.py,MP2DHarness,compute,#MP2DHarness#Any#Any#,61

Before Change


        output_data = run_json(input_data)

        if output_data["success"]:
            return Result(**output_data)
        return FailedOperation(
            success=output_data.pop("success", False), error=output_data.pop("error"), input_data=output_data)

After Change


            output_model = self.parse_output(dexe["outfiles"], input_model)

        else:
            output_model = input_model
            output_model["error"] = {"error_type": "execution_error", "error_message": dexe["stderr"]}

        return output_model

    def execute(self,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: MolSSI/QCEngine
Commit Name: 1895a1e954eb0ee668deffe0de9b2207b5c04c9c
Time: 2019-06-07
Author: lori.burns@gmail.com
File Name: qcengine/programs/mp2d.py
Class Name: MP2DHarness
Method Name: compute


Project Name: coala/coala-bears
Commit Name: c83e4f49fbb65aca0cfca955de65b7064c70448d
Time: 2018-07-04
Author: rafidteam@gmail.com
File Name: bears/general/FilenameBear.py
Class Name: FilenameBear
Method Name: run


Project Name: MolSSI/QCEngine
Commit Name: 76d930ec1fe1e18300c835ddf938afd943d4ad05
Time: 2019-06-10
Author: lori.burns@gmail.com
File Name: qcengine/programs/dftd3.py
Class Name: DFTD3Harness
Method Name: compute