patch for JAL-1599 - annotation row constructed by initAutoAnnotation
authorJim Procter <jprocter@dundee.ac.uk>
Tue, 25 Nov 2014 21:41:55 +0000 (21:41 +0000)
committerJim Procter <jprocter@dundee.ac.uk>
Tue, 25 Nov 2014 21:41:55 +0000 (21:41 +0000)
src/jalview/gui/AlignViewport.java

index c5d19e2..d24f6c4 100644 (file)
@@ -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)