JAL-1933 show occupancy count as a tooltip
[jalview.git] / src / jalview / analysis / AAFrequency.java
index 0e055e4..ffa413b 100755 (executable)
@@ -328,11 +328,12 @@ public class AAFrequency
         return;
       }
 
-      final int gapped = profile.getGapped();
+      final int gapped = profile.getNonGapped();
 
       String description = String.valueOf(gapped);
 
-      consensus.annotations[i] = new Annotation("", description, '0',
+      consensus.annotations[i] = new Annotation(description, description,
+              '\0',
               gapped);
     }
   }