From: Jim Procter Date: Fri, 12 Jul 2013 15:57:45 +0000 (+0100) Subject: JAL-1347 flow control for display of profile data is upstream from this method X-Git-Tag: Jalview_2_9~225^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=41cf7490bf0e3749530ea293f770bdf066d64c3c;p=jalview.git JAL-1347 flow control for display of profile data is upstream from this method --- diff --git a/src/jalview/renderer/AnnotationRenderer.java b/src/jalview/renderer/AnnotationRenderer.java index 8f25e77..bafa3e7 100644 --- a/src/jalview/renderer/AnnotationRenderer.java +++ b/src/jalview/renderer/AnnotationRenderer.java @@ -318,7 +318,7 @@ public class AnnotationRenderer boolean centreColLabels, centreColLabelsDef = av .getCentreColumnLabels(); boolean scaleColLabel = false; - AlignmentAnnotation consensusAnnot=av.getAlignmentConsensusAnnotation(); + AlignmentAnnotation consensusAnnot=av.getAlignmentConsensusAnnotation(),structConsensusAnnot=av.getAlignmentStrucConsensusAnnotation(); boolean renderHistogram = true, renderProfile = true, normaliseProfile = false; BitSet graphGroupDrawn = new BitSet(); @@ -343,7 +343,7 @@ public class AnnotationRenderer renderProfile = row.groupRef.isShowSequenceLogo(); normaliseProfile = row.groupRef.isNormaliseSequenceLogo(); } - else if (row == consensusAnnot) + else if (row == consensusAnnot || row == structConsensusAnnot) { renderHistogram = av_renderHistogram; renderProfile = av_renderProfile;