From 9b2d0f1f47d3a073c91f354775bea6a274812709 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Wed, 15 Feb 2006 15:21:45 +0000 Subject: [PATCH] Threshold is a single element --- src/jalview/schemes/AnnotationColourGradient.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 1.7.10.2