From 41cf7490bf0e3749530ea293f770bdf066d64c3c Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 12 Jul 2013 16:57:45 +0100 Subject: [PATCH] JAL-1347 flow control for display of profile data is upstream from this method --- src/jalview/renderer/AnnotationRenderer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 1.7.10.2