ToolkitRegistry
misbehaves in an edge case if OpenEye installed but unlicensed
#1435
Labels
ToolkitRegistry
misbehaves in an edge case if OpenEye installed but unlicensed
#1435
Describe the bug
If a user has OpenEye Toolkits installed but not licensed, some missed logic in #1426 allows
OpenEyeToolkitWrapper
to be registered as an un-instantiated class, resulting in all sorts of weird things.To Reproduce
Output
This gets weird i.e. the
__repr__
will make IPython/Jupyter unhappy:Additional context
This is my doing and I take full responsibility for it. However, I think it's a weird case and should not be arrived at easily;
conda-forge
packages don't allow OpenEye Toolkits to be pulled down and users are unlikely to accidentally install them. This is not an issue if they're properly licensed. We excluded this case from the test matrix for a reason.The text was updated successfully, but these errors were encountered: