}\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
{\r
String pos = annots.substring(i, i + 1);\r
Annotation ann;\r
- ann = new Annotation(pos, "", ' ', Float.NaN);\r
+ ann = new Annotation(pos, "", ' ', 0f); // 0f is 'valid' null - will not be written out \r
if (ss)\r
{\r
ann.secondaryStructure = jalview.schemes.ResidueProperties\r
.getDssp3state(pos).charAt(0);\r
if (ann.secondaryStructure == pos.charAt(0) || pos.charAt(0) == 'C')\r
{\r
- ann.displayCharacter = "";\r
+ ann.displayCharacter = ""; // null; // " ";\r
}\r
else\r
{\r
- ann.displayCharacter += " ";\r
+ ann.displayCharacter = " "+ann.displayCharacter;\r
}\r
}\r
\r