call_toolkit_function
- openff.nagl.toolkits.openff.call_toolkit_function(function_name, toolkit_registry, *args, **kwargs)[source]
Call a function from a toolkit wrapper or toolkit registry.
- Parameters:
function (
function
) – The function to call.toolkit_registry (
ToolkitWrapperBase
orToolkitRegistry
) – The toolkit wrapper or registry to call the function from.*args – The positional arguments to pass to the function.
**kwargs – The keyword arguments to pass to the function.