From f51ad53a1437086e6deea02e4f8930078b92bfcc Mon Sep 17 00:00:00 2001 From: jprocter Date: Fri, 28 Oct 2011 17:23:22 +0100 Subject: [PATCH] JAL-885 - catch race condition when rna structure width is different to alignment annotation width (may be a finesse here) --- src/jalview/renderer/AnnotationRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/renderer/AnnotationRenderer.java b/src/jalview/renderer/AnnotationRenderer.java index 47e2cb7..0d7d4ca 100644 --- a/src/jalview/renderer/AnnotationRenderer.java +++ b/src/jalview/renderer/AnnotationRenderer.java @@ -177,7 +177,7 @@ public class AnnotationRenderer // to // be stored if (aa.groupRef == null && aa.sequenceRef == null - && av_renderProfile) + && av_renderProfile && hStrucConsensus!=null && hStrucConsensus.length>column) { return StructureFrequency.extractProfile(hStrucConsensus[column], av_ignoreGapsConsensus); -- 1.7.10.2