OEReceptorSetCustomConstraints

bool OEReceptorSetCustomConstraints(OEChem::OEMolBase& receptor,
                                    const OECustomConstraintsBase& customConstraints)

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).