JAL-4426 Defect fix to display number of sequences only for bar graph
authorRenia Correya <rcorreya001@dundee.ac.uk>
Fri, 7 Jun 2024 14:16:09 +0000 (15:16 +0100)
committerRenia Correya <rcorreya001@dundee.ac.uk>
Fri, 7 Jun 2024 14:16:09 +0000 (15:16 +0100)
annotations

src/jalview/gui/AnnotationLabels.java

index 1ee7cba..35ffbf3 100755 (executable)
@@ -886,16 +886,15 @@ public class AnnotationLabels extends JPanel
     if (aa.graphGroup == -1)
     {
       msg.append(aa.label);
+      if(aa.getNoOfSequencesIncluded()>=0) 
+      {
+        msg.append(" (");
+        msg.append(MessageManager.getString("label.sequence_count"));
+        msg.append(aa.getNoOfSequencesIncluded());
+        msg.append(")");
+      }
     }
-    
-    if(aa.getNoOfSequencesIncluded()>=0) 
-    {
-      msg.append(" (");
-      msg.append(MessageManager.getString("label.sequence_count"));
-      msg.append(aa.getNoOfSequencesIncluded());
-      msg.append(")");
-    }
-    
+        
     else if (anns != null)
     {
       boolean first = true;