Hi Evgueni,

On Mon, Oct 12, 2009 at 10:19 AM, Evgueni Kolossov <[email protected]> wrote:
> Yes, I know that but I believe it will be more convenient to have a special
> case for this type of atoms - in this case you can always call sanitize
> without thinking of the possible problems. Problem also can be after writing
> fragments into the SDF and reading them later...Plus it should affect the
> fragments match as well - i do not want to have fragments with and without
> aromatic as the same...

I think I understand your point. There's an easy way that you can use
formally aliphatic linkers (which don't cause problems with
sanitization) and still track their origin: use the atom property
interface. So on the aromatic linkers, you could do something like
atom->setProp("isAromatic",1) and then test for this with:
atom->hasProp("isAromatic");

Does this handle your use case?
-greg

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to