If conservation is zero, colour is white
authoramwaterhouse <Andrew Waterhouse>
Thu, 9 Feb 2006 14:43:28 +0000 (14:43 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 9 Feb 2006 14:43:28 +0000 (14:43 +0000)
src/jalview/schemes/ResidueColourScheme.java

index 78ebab0..b83244d 100755 (executable)
@@ -229,6 +229,11 @@ public class ResidueColourScheme implements ColourSchemeI
        else\r
        {\r
          float t = 11 - (conservation[i] - '0');\r
+         if(t==0)\r
+         {\r
+           currentColour = Color.white;\r
+           return;\r
+         }\r
 \r
          int red = currentColour.getRed();\r
          int green = currentColour.getGreen();\r