From: jprocter Date: Fri, 28 Oct 2011 16:23:22 +0000 (+0100) Subject: JAL-885 - catch race condition when rna structure width is different to alignment... X-Git-Tag: Jalview_2_9~565^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=f51ad53a1437086e6deea02e4f8930078b92bfcc;p=jalview.git JAL-885 - catch race condition when rna structure width is different to alignment annotation width (may be a finesse here) --- 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);