Use 0f rather than NaN to specify non-valued annotation elements.
[jalview.git] / src / jalview / io / AnnotationFile.java
index 13cfc38..288ce2f 100755 (executable)
@@ -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