From d1d2ea58719115718d0672a9f8fb85c48a908468 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 12 Jul 2013 16:58:22 +0100 Subject: [PATCH] JAL-1347 RNA Structure consensus follows the alignment viewport consensus rendering settings in version 2.8.x --- 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 bafa3e7..09152d6 100644 --- a/src/jalview/renderer/AnnotationRenderer.java +++ b/src/jalview/renderer/AnnotationRenderer.java @@ -240,7 +240,7 @@ public class AnnotationRenderer } // TODO extend annotation row to enable dynamic and static profile data to // be stored - if (aa.groupRef == null && aa.sequenceRef == null && av_renderProfile) + if (aa.groupRef == null && aa.sequenceRef == null) { return AAFrequency.extractProfile(hconsensus[column], av_ignoreGapsConsensus); @@ -262,7 +262,7 @@ public class AnnotationRenderer // to // be stored if (aa.groupRef == null && aa.sequenceRef == null - && av_renderProfile && hStrucConsensus != null + && hStrucConsensus != null && hStrucConsensus.length > column) { return StructureFrequency.extractProfile(hStrucConsensus[column], -- 1.7.10.2