Use aa index for aboveThreshold as well as colour index
[jalview.git] / src / jalview / schemes / Blosum62ColourScheme.java
index 1aea477..356e3fe 100755 (executable)
@@ -18,7 +18,6 @@
  */\r
 package jalview.schemes;\r
 \r
-import java.util.*;\r
 \r
 import java.awt.*;\r
 \r
@@ -37,11 +36,10 @@ public class Blosum62ColourScheme
       return Color.white;\r
     }\r
 \r
-    Hashtable hash = (Hashtable) consensus.elementAt(j);\r
 \r
     if (!jalview.util.Comparison.isGap( (s.charAt(0))))\r
     {\r
-      String max = (String) hash.get("maxResidue");\r
+      String max = (String) consensus[j].get("maxResidue");\r
 \r
       if (max.indexOf(s) > -1)\r
       {\r