JAL-2228 always create zero score annotations, since select/hide annotation filter...
authorJim Procter <jprocter@issues.jalview.org>
Fri, 2 Jun 2017 13:12:21 +0000 (14:12 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Fri, 2 Jun 2017 13:12:21 +0000 (14:12 +0100)
src/jalview/workers/ColumnCounterSetWorker.java

index 8a1c8ec..b6b64fc 100644 (file)
@@ -189,13 +189,11 @@ class ColumnCounterSetWorker extends AlignCalcWorker
       for (int i = 0; i < counts.length; i++)
       {
         int count = counts[i][anrow];
-        if (count > 0)
-        {
-          Color color = ColorUtils.getGraduatedColour(count, 0, minColour,
+
+        Color color = ColorUtils.getGraduatedColour(count, 0, minColour,
                   max[anrow], maxColour);
           String str = String.valueOf(count);
           anns[i] = new Annotation(str, str, '0', count, color);
-        }
           rmax = Long.max(count, rmax);
       }