Skip to content

Commit

Permalink
Also except N.amide as part of an aromatic ring
Browse files Browse the repository at this point in the history
Signed-off-by: Rajarshi Guha <rajarshi.guha@gmail.com>
  • Loading branch information
egonw authored and rajarshi committed Jul 18, 2010
1 parent 0bd5b42 commit 3357113
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -150,6 +150,8 @@ private static boolean isHueckelValid(IAtomContainer singleRing) throws CDKExcep
electronCount += 2;
} else if ("N.minus.planar3".equals(ringAtom.getAtomTypeName())) {
electronCount += 2;
} else if ("N.amide".equals(ringAtom.getAtomTypeName())) {
electronCount += 2;
} else if ("S.2".equals(ringAtom.getAtomTypeName())) {
electronCount += 2;
} else if ("S.planar3".equals(ringAtom.getAtomTypeName())) {
Expand Down

0 comments on commit 3357113

Please sign in to comment.