JAL-1347 flow control for display of profile data is upstream from this method
authorJim Procter <jprocter@compbio.dundee.ac.uk>
Fri, 12 Jul 2013 15:57:45 +0000 (16:57 +0100)
committerJim Procter <jprocter@compbio.dundee.ac.uk>
Fri, 12 Jul 2013 15:57:45 +0000 (16:57 +0100)
src/jalview/renderer/AnnotationRenderer.java

index 8f25e77..bafa3e7 100644 (file)
@@ -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;