OEReceptorSetCustomConstraints

OEReceptorSetCustomConstraints(rec: Union[OEGraphMol,OEMol,OEQMol],
                               arg2: OECustomConstraints) -> bool

Sets the receptor’s custom constraints (copied from customConstraints).

Returns true if successful.

It is only valid to call this function if receptor is a valid receptor (i.e., OEIsReceptor returns true).