X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fanalysis%2FAAFrequency.java;h=69c39df86c654190868b86ec300a72423b7e0d1a;hb=c08c3fe3039b510382eb9caa81c30c059c15ce13;hp=d6088e4405811adb45b0faffbee2f2692e0fb612;hpb=be32c14cd8e48fe0a207cd7030cb9cd46f894678;p=jalview.git diff --git a/src/jalview/analysis/AAFrequency.java b/src/jalview/analysis/AAFrequency.java index d6088e4..69c39df 100755 --- a/src/jalview/analysis/AAFrequency.java +++ b/src/jalview/analysis/AAFrequency.java @@ -311,12 +311,12 @@ public class AAFrequency mouseOver.append(hci.get(AAFrequency.MAXRESIDUE) + " "); } int[][] profile = (int[][]) hci.get(AAFrequency.PROFILE); - int sequenceCount = profile[1][0]; - int nonGappedCount = profile[1][1]; - int normalisedBy = ignoreGapsInConsensusCalculation ? nonGappedCount - : sequenceCount; if (profile != null && includeAllConsSymbols) { + int sequenceCount = profile[1][0]; + int nonGappedCount = profile[1][1]; + int normalisedBy = ignoreGapsInConsensusCalculation ? nonGappedCount + : sequenceCount; mouseOver.setLength(0); if (alphabet != null) {