From: Jim Procter Date: Thu, 1 Dec 2016 12:15:04 +0000 (+0000) Subject: JAL-1933 update the bounds for the Gap annotation row each time it is computed X-Git-Tag: Release_2_11_0~62^2~37^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=41c34ccf7054239554932deca6f64042231977b5;p=jalview.git JAL-1933 update the bounds for the Gap annotation row each time it is computed --- 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; /**