From 4ecba72bdecb7f685bf7629e7784d2d11c172f9d Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 31 May 2018 17:20:00 +0100 Subject: [PATCH] JAL-1950 JAL-1958 disable per-row score modulation if none present --- src/jalview/schemes/AnnotationColourGradient.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/jalview/schemes/AnnotationColourGradient.java b/src/jalview/schemes/AnnotationColourGradient.java index 3ed18bf..00744c0 100755 --- a/src/jalview/schemes/AnnotationColourGradient.java +++ b/src/jalview/schemes/AnnotationColourGradient.java @@ -247,6 +247,10 @@ public class AnnotationColourGradient extends FollowerColourScheme perLineScore = plcount == ancount; aamax=plmax; } + else + { + perLineScore = false; + } if (rna) { ColourSchemeProperty.initRnaHelicesShading(1 + (int) aamax); -- 1.7.10.2