8e854007a8d5b03516b9df1ca381ab3194b84f16,qcengine/programs/rdkit.py,RDKitExecutor,found,#Any#,30

Before Change



    @staticmethod
    def found(raise_error: bool=False) -> bool:
        return which_import("rdkit", return_bool=True, raise_error=raise_error)

    def compute(self, input_data: "ResultInput", config: "JobConfig") -> "Result":
        
        Runs RDKit in FF typing

After Change



    @staticmethod
    def found(raise_error: bool=False) -> bool:
        is_found = which_import("rdkit", return_bool=True)

        if not is_found and raise_error:
            raise ModuleNotFoundError("Could not find "rdkit" in the Python path. Please "conda install rdkit -c conda-forge".")

        return is_found
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: MolSSI/QCEngine
Commit Name: 8e854007a8d5b03516b9df1ca381ab3194b84f16
Time: 2019-05-14
Author: malorian@me.com
File Name: qcengine/programs/rdkit.py
Class Name: RDKitExecutor
Method Name: found


Project Name: MolSSI/QCEngine
Commit Name: e5fa5b3d6c77618aae53b450d549531942cadffa
Time: 2021-02-10
Author: max.scheurer@me.com
File Name: qcengine/programs/adcc.py
Class Name: AdccHarness
Method Name: found


Project Name: MolSSI/QCEngine
Commit Name: c53fc7f47535d8c494b174d4580ef005468df199
Time: 2019-10-04
Author: dotsdl@gmail.com
File Name: qcengine/programs/openmm.py
Class Name: OpenMMHarness
Method Name: found


Project Name: MolSSI/QCEngine
Commit Name: 8e854007a8d5b03516b9df1ca381ab3194b84f16
Time: 2019-05-14
Author: malorian@me.com
File Name: qcengine/programs/torchani.py
Class Name: TorchANIExecutor
Method Name: found