From 41c34ccf7054239554932deca6f64042231977b5 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 1 Dec 2016 12:15:04 +0000 Subject: [PATCH] JAL-1933 update the bounds for the Gap annotation row each time it is computed --- src/jalview/analysis/AAFrequency.java | 4 +++- src/jalview/datamodel/AlignmentAnnotation.java | 8 ++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/jalview/analysis/AAFrequency.java b/src/jalview/analysis/AAFrequency.java index b5dab6f..e682e2c 100755 --- a/src/jalview/analysis/AAFrequency.java +++ b/src/jalview/analysis/AAFrequency.java @@ -313,7 +313,9 @@ public class AAFrequency */ return; } - + // always set ranges again + consensus.graphMax = nseq; + consensus.graphMin = 0; for (int i = startCol; i < endCol; i++) { ProfileI profile = profiles.get(i); diff --git a/src/jalview/datamodel/AlignmentAnnotation.java b/src/jalview/datamodel/AlignmentAnnotation.java index 05688cb..bbd3ce4 100755 --- a/src/jalview/datamodel/AlignmentAnnotation.java +++ b/src/jalview/datamodel/AlignmentAnnotation.java @@ -170,10 +170,14 @@ public class AlignmentAnnotation */ private Map sequenceMapping; - /** DOCUMENT ME!! */ + /** + * lower range for quantitative data + */ public float graphMin; - /** DOCUMENT ME!! */ + /** + * Upper range for quantitative data + */ public float graphMax; /** -- 1.7.10.2