Revision: 21581
          http://sourceforge.net/p/jmol/code/21581
Author:   hansonr
Date:     2017-05-01 03:39:15 +0000 (Mon, 01 May 2017)
Log Message:
-----------


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-30 20:40:31 UTC 
(rev 21580)
+++ trunk/Jmol/src/org/jmol/symmetry/CIPChirality.java  2017-05-01 03:39:15 UTC 
(rev 21581)
@@ -2079,13 +2079,16 @@
           s = "?" + sphere;
           subRS = "[" + subRS + "]";
         } else if (isAlkene && alkeneChild != null) {
+          // we must check for seqCis or M/P
           // this does not work. Is "E" a "chiral unit"?
 //          int ez = alkeneChild.getEZaux();
-//          s = (ez == STEREO_Z ? "D" : ez == STEREO_E ? "E" : "~");
+//          s = (ez == STEREO_Z ? "Z" : ez == STEREO_E ? "E" : "~");
 //          System.out.println(myPath + s);
 //          System.out.println("?");
-        } else if (!isRoot && (bondCount == 4 && nPriorities >= 3 - 
Math.abs(adj) 
-            || bondCount == 3 && elemNo > 10 && nPriorities >= 2 - 
Math.abs(adj))) {
+        } else if (!isRoot && (
+            bondCount == 4 && nPriorities >= 3 - Math.abs(adj) 
+            || bondCount == 3 && elemNo > 10 && nPriorities >= 2 - 
Math.abs(adj))
+           ) {
             // if here, adj is TIED (0), A_WINS (-1), or B_WINS (1) 
             CIPAtom atom1 = (CIPAtom) clone();
             if (atom1.set()) {

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