git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fa2d1c
)
If conservation is zero, colour is white
author
amwaterhouse
<Andrew Waterhouse>
Thu, 9 Feb 2006 14:43:28 +0000
(14:43 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Thu, 9 Feb 2006 14:43:28 +0000
(14:43 +0000)
src/jalview/schemes/ResidueColourScheme.java
patch
|
blob
|
history
diff --git
a/src/jalview/schemes/ResidueColourScheme.java
b/src/jalview/schemes/ResidueColourScheme.java
index
78ebab0
..
b83244d
100755
(executable)
--- a/
src/jalview/schemes/ResidueColourScheme.java
+++ b/
src/jalview/schemes/ResidueColourScheme.java
@@
-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