use hasScore method to test presence of score in annotation.
[jalview.git] / src / jalview / gui / AnnotationLabels.java
index 0ea7730..54263aa 100755 (executable)
@@ -380,7 +380,7 @@ public class AnnotationLabels
       {
         desc.append(aa.description+"<br>");
       }
-      if(!Float.isNaN(aa.score))
+      if(aa.hasScore())
       {
         desc.append("Score: "+aa.score);
       }