-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Jul 9, 2008, at 3:30 PM, Rajarshi Guha wrote:
>
>
> Thanks for the info. However something seems to be wrong. I'm
> generating an IAtomContainer from c1ccccc1CN and then doing
>
> CDKHueckelAromaticityDetector.detectAromaticity(mol1);
> addExplicitHydrogens(mol1);
> AtomContainerManipulator.percieveAtomTypesAndConfigureAtoms(mol1);
> lpcheck.saturate(mol1);
>
> GasteigerPEPEPartialCharges pepe = new GasteigerPEPEPartialCharges();
> pepe.calculateCharges(mol1);
>
> However, when I print the charge on each atom via atom.getCharge()
> all of them have 0

Digging into the code of GasteigerPEPEPartialCharges I see that there  
are two exit points from the method assignGasteigerPiPartialCharges()

It seems that when using c1ccccc1CN the method is exiting at line 237  
- - and at this point no charges have been set. Furthermore, exiting at  
this point results in the sigma partial charges not even being  
calculated.

Unfortunately I don't know more of the details of the implementation  
to be able to fix this

- -------------------------------------------------------------------
Rajarshi Guha  <[EMAIL PROTECTED]>
GPG Fingerprint: D070 5427 CC5B 7938 929C  DD13 66A1 922C 51E7 9E84
- -------------------------------------------------------------------
A computer lets you make more mistakes faster than any other invention,
with the possible exceptions of handguns and Tequilla.
        -- Mitch Ratcliffe


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkh1FWMACgkQZqGSLFHnnoQ1lACg36DkFKRI1pWxQx0clhYkppWV
7h4An20TOb6Xf8P+TU7M2eJtRlzvSUTN
=ICL5
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Cdk-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdk-user

Reply via email to