JAL-1933 consensus calculation doesn’t depend on occupancy row being materialised
authorJim Procter <jprocter@issues.jalview.org>
Thu, 27 Apr 2017 16:39:38 +0000 (17:39 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Thu, 27 Apr 2017 16:39:38 +0000 (17:39 +0100)
src/jalview/viewmodel/AlignmentViewport.java

index f4d8f59..0015299 100644 (file)
@@ -823,7 +823,7 @@ public abstract class AlignmentViewport implements AlignViewportI,
   public void updateConsensus(final AlignmentViewPanel ap)
   {
     // see note in mantis : issue number 8585
-    if ((consensus == null || gapcounts == null) || !autoCalculateConsensus)
+    if (consensus == null || !autoCalculateConsensus)
     {
       return;
     }