From: Jim Procter Date: Fri, 12 Jul 2013 15:58:22 +0000 (+0100) Subject: JAL-1347 RNA Structure consensus follows the alignment viewport consensus rendering... X-Git-Tag: Jalview_2_9~225^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=d1d2ea58719115718d0672a9f8fb85c48a908468;p=jalview.git JAL-1347 RNA Structure consensus follows the alignment viewport consensus rendering settings in version 2.8.x --- 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],