Pages

Sunday, May 06, 2012

Defining nitrogen and oxygen count descriptors

In reply to a question on the CDK user mailing list, I wrote up for my CDK API book how to define custom descriptors (nitrogenCount and oxygenCount) using the parameter approach:


The Java code is a bit more complex, requiring more Java language specific code. But the key is simply to use the the setParameters() method.