select menu
[jalview.git] / src / jalview / schemes / ScoreColourScheme.java
index e238d79..1f9116c 100755 (executable)
@@ -94,12 +94,12 @@ public class ScoreColourScheme extends ResidueColourScheme
 \r
         char c = s.charAt(0);\r
 \r
-        if (jalview.util.Comparison.isGap((c)))\r
+        if (jalview.util.Comparison.isGap(c))\r
         {\r
             return Color.white;\r
         }\r
 \r
-        currentColour = colors[((Integer) ResidueProperties.aaHash.get(s)).intValue()];\r
+        currentColour = colors[ ResidueProperties.aaIndex[c] ];\r
 \r
         if(conservationColouring)\r
          applyConservation(j);\r