schrodinger.utils.product module

schrodinger.utils.product.requires_products(*products: str) Callable

A function decorator that ensures the specified products are installed before allowing the decorated function to execute.

Parameters:

products – the names of the required products; these are the same arguments accepted by product_installed()