When Psi4 is not installed an exception occurs because the file psi4 cannot be found. Cleanup of the process with process.kill() then generates another exception, because the variable process was not created.
This PR:
Adds the generated exception to the warning message
When
Psi4
is not installed an exception occurs because the filepsi4
cannot be found. Cleanup of the process withprocess.kill()
then generates another exception, because the variableprocess
was not created.This PR:
process.kill()
in a try-except@bsenjean