I found an inconsistency between N and P.  If you read in each of the
SMILES [PH4+] and [NH4+], then remove the explicit H atoms from the
molecule, then

   atom->ImplicitHydrogenCount()

returns 4 for N and 3 for P.  To cure this, I added this rule to
atomtyp.txt, after all of the other P rules:

IMPVAL  [#15^3+]                  4

This is parallel to the existing rule for nitrogen, which is:

IMPVAL  [N^3+]                    4

Does anyone see a problem with this?

Thanks,
Craig
------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to