Revision: 21554
          http://sourceforge.net/p/jmol/code/21554
Author:   hansonr
Date:     2017-04-26 05:00:18 +0000 (Wed, 26 Apr 2017)
Log Message:
-----------
CIP Rule 4 work complete

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-26 04:31:56 UTC 
(rev 21553)
+++ trunk/Jmol/src/org/jmol/symmetry/CIPChirality.java  2017-04-26 05:00:18 UTC 
(rev 21554)
@@ -1945,7 +1945,8 @@
       if (rs1.equals(rs2))
         return TIED;
       int finalScore = TIED;
-      for (int i = 0; i < n; i++) {
+      // "1S", "1R"
+      for (int i = 1; i < n; i++) {
         int i1 = " RS".indexOf(rs1.charAt(i));
         int score = i1 + " RS".indexOf(rs2.charAt(i));
         if (score != 0 && score != STEREO_BOTH)

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

Reply via email to