From: Jim Procter Date: Thu, 27 Apr 2017 16:39:38 +0000 (+0100) Subject: JAL-1933 consensus calculation doesn’t depend on occupancy row being materialised X-Git-Tag: Release_2_10_2~3^2~123^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=bf2dd2a4708bdec06517605f9c6e69bfdc53d5ee;p=jalview.git JAL-1933 consensus calculation doesn’t depend on occupancy row being materialised --- diff --git a/src/jalview/viewmodel/AlignmentViewport.java b/src/jalview/viewmodel/AlignmentViewport.java index f4d8f59..0015299 100644 --- a/src/jalview/viewmodel/AlignmentViewport.java +++ b/src/jalview/viewmodel/AlignmentViewport.java @@ -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; }