Threshold is a single element
authoramwaterhouse <Andrew Waterhouse>
Wed, 15 Feb 2006 15:21:45 +0000 (15:21 +0000)
committeramwaterhouse <Andrew Waterhouse>
Wed, 15 Feb 2006 15:21:45 +0000 (15:21 +0000)
src/jalview/schemes/AnnotationColourGradient.java

index 5825612..433af79 100755 (executable)
@@ -46,8 +46,8 @@ public class AnnotationColourGradient extends ResidueColourScheme
 \r
       aboveAnnotationThreshold = aboveThreshold;\r
 \r
-      if(aboveThreshold!=NO_THRESHOLD && annotation.graphLines!=null)\r
-        annotationThreshold = annotation.getGraphLine(0);\r
+      if(aboveThreshold!=NO_THRESHOLD && annotation.threshold!=null)\r
+        annotationThreshold = annotation.threshold;\r
 \r
       r1 = minColour.getRed();\r
       g1 = minColour.getGreen();\r