{\r
super(inFile, type);\r
}\r
-\r
+ public StockholmFile(FileParse source) throws IOException\r
+ {\r
+ super(source);\r
+ }\r
public void initData()\r
{\r
super.initData();\r
// + ": " + seq);\r
this.seqs.addElement(seqO);\r
}\r
+ return; // finished parsing this segment of source\r
}\r
else if (!r.search(line))\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