From: Jim Procter Date: Tue, 25 Nov 2014 21:41:55 +0000 (+0000) Subject: patch for JAL-1599 - annotation row constructed by initAutoAnnotation X-Git-Tag: Jalview_2_9~121^2~8^2~2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=64c8b36ef7023d5de1c49d4508e5d86f924ddacc;p=jalview.git patch for JAL-1599 - annotation row constructed by initAutoAnnotation --- diff --git a/src/jalview/gui/AlignViewport.java b/src/jalview/gui/AlignViewport.java index c5d19e2..d24f6c4 100644 --- a/src/jalview/gui/AlignViewport.java +++ b/src/jalview/gui/AlignViewport.java @@ -43,9 +43,7 @@ import jalview.analysis.NJTree; import jalview.api.AlignViewportI; import jalview.bin.Cache; import jalview.commands.CommandI; -import jalview.datamodel.AlignmentAnnotation; import jalview.datamodel.AlignmentI; -import jalview.datamodel.Annotation; import jalview.datamodel.ColumnSelection; import jalview.datamodel.PDBEntry; import jalview.datamodel.Sequence; @@ -338,10 +336,6 @@ public class AlignViewport extends AlignmentViewport implements false); showGroupConsensus = Cache.getDefault("SHOW_GROUP_CONSENSUS", false); showConsensus = Cache.getDefault("SHOW_IDENTITY", true); - consensus = new AlignmentAnnotation("Consensus", "PID", - new Annotation[1], 0f, 100f, AlignmentAnnotation.BAR_GRAPH); - consensus.hasText = true; - consensus.autoCalculated = true; } initAutoAnnotation(); if (jalview.bin.Cache.getProperty("DEFAULT_COLOUR") != null)