From: amwaterhouse Date: Wed, 15 Feb 2006 15:21:45 +0000 (+0000) Subject: Threshold is a single element X-Git-Tag: Root_VamJalview_2_07b+~137 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=9b2d0f1f47d3a073c91f354775bea6a274812709;p=jalview.git Threshold is a single element --- diff --git a/src/jalview/schemes/AnnotationColourGradient.java b/src/jalview/schemes/AnnotationColourGradient.java index 5825612..433af79 100755 --- a/src/jalview/schemes/AnnotationColourGradient.java +++ b/src/jalview/schemes/AnnotationColourGradient.java @@ -46,8 +46,8 @@ public class AnnotationColourGradient extends ResidueColourScheme aboveAnnotationThreshold = aboveThreshold; - if(aboveThreshold!=NO_THRESHOLD && annotation.graphLines!=null) - annotationThreshold = annotation.getGraphLine(0); + if(aboveThreshold!=NO_THRESHOLD && annotation.threshold!=null) + annotationThreshold = annotation.threshold; r1 = minColour.getRed(); g1 = minColour.getGreen();