Revision: 21477
          http://sourceforge.net/p/jmol/code/21477
Author:   hansonr
Date:     2017-04-04 04:53:28 +0000 (Tue, 04 Apr 2017)
Log Message:
-----------


Modified Paths:
--------------
    trunk/Jmol/src/org/jmol/viewer/ColorManager.java

Modified: trunk/Jmol/src/org/jmol/viewer/ColorManager.java
===================================================================
--- trunk/Jmol/src/org/jmol/viewer/ColorManager.java    2017-04-04 04:24:15 UTC 
(rev 21476)
+++ trunk/Jmol/src/org/jmol/viewer/ColorManager.java    2017-04-04 04:53:28 UTC 
(rev 21477)
@@ -182,8 +182,7 @@
     case PAL.PALETTE_NUCLEIC:
       id = atom.group.groupID;
       if (id >= JC.GROUPID_NUCLEIC_MAX) {
-        id = 0 + Character.toUpperCase(atom.group.group1);
-        id = JC.GROUPID_AMINO_MAX + "GCATUI".indexOf(id);        
+        id = JC.GROUPID_AMINO_MAX + 
"GCATUI".indexOf(Character.toUpperCase(atom.group.group1));        
       }
       return ce.getColorIndexFromPalette(id,
           0, 0, ColorEncoder.NUCLEIC, false);

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