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 0f rather than NaN to specify non-valued annotation elements.
[jalview.git]
/
src
/
jalview
/
io
/
AnnotationFile.java
diff --git
a/src/jalview/io/AnnotationFile.java
b/src/jalview/io/AnnotationFile.java
index
13cfc38
..
288ce2f
100755
(executable)
--- a/
src/jalview/io/AnnotationFile.java
+++ b/
src/jalview/io/AnnotationFile.java
@@
-190,7
+190,7
@@
public class AnnotationFile
}
\r
\r
color = row.annotations[j].colour;
\r
- if (row.annotations[j].value != 0f)
\r
+ if (row.annotations[j].value != 0f && row.annotations[j].value!=Float.NaN)
\r
{
\r
text.append(comma + row.annotations[j].value);
\r
}
\r