X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Frenderer%2FAnnotationRenderer.java;h=1e2cf76169fa78b7b25547ba09f54beae4eda92e;hb=eef6f42415b504bf81da34c93139fe49f560062a;hp=05be67b46421ac8bd41f7db8a16fbec3438288c6;hpb=21fcce633c77a700ee488806f60b5e4dc8f6895b;p=jalview.git diff --git a/src/jalview/renderer/AnnotationRenderer.java b/src/jalview/renderer/AnnotationRenderer.java index 05be67b..1e2cf76 100644 --- a/src/jalview/renderer/AnnotationRenderer.java +++ b/src/jalview/renderer/AnnotationRenderer.java @@ -365,9 +365,11 @@ public class AnnotationRenderer // if (aa.autoCalculated && (aa.label.startsWith(AutoAnnotation.CONSENSUS.label) - || aa.label.startsWith("cDNA Consensus"))) + || aa.label.startsWith( + AutoAnnotation.CDNA_CONSENSUS.label))) { - boolean forComplement = aa.label.startsWith("cDNA Consensus"); + boolean forComplement = aa.label + .startsWith(AutoAnnotation.CDNA_CONSENSUS.label); if (aa.groupRef != null && aa.groupRef.consensusData != null && aa.groupRef.isShowSequenceLogo()) { @@ -394,7 +396,8 @@ public class AnnotationRenderer } else { - if (aa.autoCalculated && aa.label.startsWith("StrucConsensus")) + if (aa.autoCalculated && aa.label + .startsWith(AutoAnnotation.STRUCTURE_CONSENSUS.label)) { // TODO implement group structure consensus /*