If conservation is null, disable Blosum62 and conservation colouring
authoramwaterhouse <Andrew Waterhouse>
Thu, 12 Oct 2006 13:23:21 +0000 (13:23 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 12 Oct 2006 13:23:21 +0000 (13:23 +0000)
src/jalview/gui/AlignFrame.java

index fe6f4cf..6125ee1 100755 (executable)
@@ -115,15 +115,14 @@ public class AlignFrame
   {
     this.setDropTarget(new java.awt.dnd.DropTarget(this, this));
 
-    if (viewport.hconsensus == null)
+    if (viewport.conservation == null)
     {
-      //Out of memory calculating consensus.
       BLOSUM62Colour.setEnabled(false);
-      PIDColour.setEnabled(false);
       conservationMenuItem.setEnabled(false);
       modifyConservation.setEnabled(false);
-      abovePIDThreshold.setEnabled(false);
-      modifyPID.setEnabled(false);
+    //  PIDColour.setEnabled(false);
+    //  abovePIDThreshold.setEnabled(false);
+    //  modifyPID.setEnabled(false);
     }
 
     String sortby = jalview.bin.Cache.getDefault("SORT_ALIGNMENT", "No sort");