From: Rajarshi G. <rg...@in...> - 2007-12-09 17:58:39
|
On Dec 9, 2007, at 1:35 AM, Nina Jeliazkova wrote: > Hi, > > I think I've found the reason - when a molecule is created via > SmilesParser, the hybridization of atoms is correctly set. If a > molecule > is read from a file, atom.getHybridization() method returns null. > Thus > for aromaticity detection to work properly, we need some preprocessing > after the molecule is read, or/and some exception thrown if > aromaticity > detector encounters nulls in getHybridization method. Have you tried perform atom typing before the aromaticity detection? I think the method is detectAndConfigureAtomTypes or something like that ------------------------------------------------------------------- Rajarshi Guha <rg...@in...> GPG Fingerprint: 0CCA 8EE2 2EEB 25E2 AB04 06F7 1BB9 E634 9B87 56EE ------------------------------------------------------------------- A list is only as strong as its weakest link. -- Don Knuth |