git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use hasScore method to test presence of score in annotation.
[jalview.git]
/
src
/
jalview
/
gui
/
AnnotationLabels.java
diff --git
a/src/jalview/gui/AnnotationLabels.java
b/src/jalview/gui/AnnotationLabels.java
index
0ea7730
..
54263aa
100755
(executable)
--- a/
src/jalview/gui/AnnotationLabels.java
+++ b/
src/jalview/gui/AnnotationLabels.java
@@
-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);
}