User 8c68bb23cf
12-02-2009 18:09:54
Hi,
I use ChargePlugin to compute partial charges, and in my situation it returns NaN for any hydrogen. And it occurs not just for "implicit" hydrogens, but for any, including those in hydroxyl and amino groups.
I imported the relevant library, and essentially recycled the code example from the developers' section of this site. The structures contain explicit hydrogens and are read from mol2 or sdf formatted files, as opposed to the SMILES string in the example. The example, apparently, doesn't even attempt to compute charges on hydrogens and also generates charges only for heavy atoms.
When I use the desktop version (MarvinSpace or View) with the implicit hydrogen charge option enabled, I actually get the charges. How is this option enabled in the code? I didn't find anything in the API.
I'm using version 5.0.2.1.
Thank you for any suggestions
Sasha
I use ChargePlugin to compute partial charges, and in my situation it returns NaN for any hydrogen. And it occurs not just for "implicit" hydrogens, but for any, including those in hydroxyl and amino groups.
I imported the relevant library, and essentially recycled the code example from the developers' section of this site. The structures contain explicit hydrogens and are read from mol2 or sdf formatted files, as opposed to the SMILES string in the example. The example, apparently, doesn't even attempt to compute charges on hydrogens and also generates charges only for heavy atoms.
When I use the desktop version (MarvinSpace or View) with the implicit hydrogen charge option enabled, I actually get the charges. How is this option enabled in the code? I didn't find anything in the API.
I'm using version 5.0.2.1.
Thank you for any suggestions
Sasha