38a2c28f9885e13e080cd04ec1b967a19c427d63,qcengine/programs/mp2d.py,MP2DExecutor,found,#Any#,43
Before Change
@staticmethod
def found(raise_error=False) -> bool:
is_found = which("mp2d", return_bool=True)
if not is_found and raise_error:
raise ImportError("Could not find MP2D in the shell path.")
else:
return is_found
def get_version(self) -> str:
self.found(raise_error=True)
// Note: no version at present. Need to get Chandler to set one up
After Change
@staticmethod
def found(raise_error=False) -> bool:
return which("mp2d", return_bool=True, raise_error=raise_error, raise_msg="Please install via `conda install mp2d -c psi4`")
def get_version(self) -> str:
self.found(raise_error=True)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 10
Instances
Project Name: MolSSI/QCEngine
Commit Name: 38a2c28f9885e13e080cd04ec1b967a19c427d63
Time: 2019-05-16
Author: lori.burns@gmail.com
File Name: qcengine/programs/mp2d.py
Class Name: MP2DExecutor
Method Name: found
Project Name: MolSSI/QCEngine
Commit Name: 38a2c28f9885e13e080cd04ec1b967a19c427d63
Time: 2019-05-16
Author: lori.burns@gmail.com
File Name: qcengine/programs/dftd3/runner.py
Class Name: DFTD3Executor
Method Name: found
Project Name: MolSSI/QCEngine
Commit Name: 38a2c28f9885e13e080cd04ec1b967a19c427d63
Time: 2019-05-16
Author: lori.burns@gmail.com
File Name: qcengine/programs/mp2d.py
Class Name: MP2DExecutor
Method Name: found
Project Name: MolSSI/QCEngine
Commit Name: 38a2c28f9885e13e080cd04ec1b967a19c427d63
Time: 2019-05-16
Author: lori.burns@gmail.com
File Name: qcengine/programs/gamess/runner.py
Class Name: GAMESSExecutor
Method Name: found