Return color.white if a gap char is detected
authoramwaterhouse <Andrew Waterhouse>
Fri, 14 Jan 2005 15:44:37 +0000 (15:44 +0000)
committeramwaterhouse <Andrew Waterhouse>
Fri, 14 Jan 2005 15:44:37 +0000 (15:44 +0000)
src/jalview/schemes/ClustalxColourScheme.java

index 3a91018..128929c 100755 (executable)
@@ -201,6 +201,9 @@ public class ClustalxColourScheme implements ColourSchemeI
 \r
     int i = Integer.parseInt( ResidueProperties.aaHash.get(s).toString() );\r
 \r
+    if(i>22) // ie -, ., or space\r
+      return Color.white;\r
+\r
     return ResidueColour[i].c;\r
   }\r
 \r