Revision: 21557 http://sourceforge.net/p/jmol/code/21557 Author: hansonr Date: 2017-04-27 04:06:58 +0000 (Thu, 27 Apr 2017) Log Message: ----------- CIP validates for Rules 1-5 for 86 compounds -- 771 lines
Modified Paths: -------------- trunk/Jmol/src/org/jmol/symmetry/CIPChirality.java Modified: trunk/Jmol/src/org/jmol/symmetry/CIPChirality.java =================================================================== --- trunk/Jmol/src/org/jmol/symmetry/CIPChirality.java 2017-04-27 04:01:48 UTC (rev 21556) +++ trunk/Jmol/src/org/jmol/symmetry/CIPChirality.java 2017-04-27 04:06:58 UTC (rev 21557) @@ -633,14 +633,15 @@ } if (cipAtom.achiral) { isChiral = false; - } else { - for (int i = 0; i < cipAtom.bondCount - 1; i++) { - if (cipAtom.prevPriorities[i] == cipAtom.prevPriorities[i + 1]) { - isChiral = false; - break; - } + break; + } + for (int i = 0; i < cipAtom.bondCount - 1; i++) { + if (cipAtom.prevPriorities[i] == cipAtom.prevPriorities[i + 1]) { + isChiral = false; + break; } } + if (currentRule == 5) cipAtom.isPseudo = true; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Jmol-commits mailing list Jmol-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-commits