No need to sened sequence to determine residue colour
authoramwaterhouse <Andrew Waterhouse>
Wed, 15 Dec 2004 17:27:31 +0000 (17:27 +0000)
committeramwaterhouse <Andrew Waterhouse>
Wed, 15 Dec 2004 17:27:31 +0000 (17:27 +0000)
src/jalview/schemes/ConservationColourScheme.java

index 7acc722..ab5a808 100755 (executable)
@@ -67,7 +67,7 @@ public class ConservationColourScheme extends ResidueColourScheme {
 \r
       seq.setColor(c);\r
   }\r
-   public Color findColour(SequenceI seq, String s, int i, java.util.Vector whatever)\r
+   public Color findColour(String s, int i, java.util.Vector whatever)\r
    {\r
      Color c = null;\r
      if (colourThreshold > 0 && conserve.getConsSequence() != null)\r
@@ -105,7 +105,7 @@ public class ConservationColourScheme extends ResidueColourScheme {
    }\r
 \r
   public Color findColour(DrawableSequence seq, String s, int j) {\r
-    return cs.findColour(null, s, -1, null);\r
+    return cs.findColour( s, -1, null);\r
   }\r
   public boolean fullConservation(int j) {\r
     String tmp = conserve.getConsSequence().getSequence().substring(j,j+1);\r