Open isty2e opened 4 months ago
We've run into this before (https://github.com/openforcefield/openff-toolkit/issues/825#issuecomment-769287238) and thought we fixed it (https://github.com/openforcefield/openff-toolkit/pull/850); OpenEyeToolkitWrapper
returns True
if any of those licenses are found, not requiring all to be found.
There could be a separate interaction between different wrapped calls failing and raising unhandled exceptions (https://github.com/openforcefield/openff-toolkit/issues/1863 a little related; it's possible that using RDKit conformers and Quacpac charges fails since it's not clear that's ever been tested or even that it's possible).
Could you fill out the issue template with a reproducible example that demonstrates how I can trigger the specific failure you're encountering? I have access to an OpenEye license and can mock different modules being licensed or unlicensed.
On behalf of my colleague, #1896
Describe the bug https://github.com/openforcefield/openff-toolkit/blob/fd5a20b6094ac0f64f66510f2791244e9e5ef9b4/openff/toolkit/utils/openeye_wrapper.py#L224
This method detects the presence of OpenEye toolkits licenses by checking if any of toolkit licenses is available. However, the
OpenEyeToolkitWrapper
requiresoechem
,oeomega
, andoequacpac
to function. If the user has at least one of these licenses but not all (e.g, only oechem license) and hasOE_LICENSE
environment variable set, an exception will occur in runtime.To Reproduce
OE_LICENSE
environment variable setOutput