*/\r
package jalview.io;\r
\r
-import jalview.analysis.*;\r
-\r
import jalview.datamodel.*;\r
\r
import java.io.*;\r
{\r
if (line.length() > 0)\r
{\r
- // Do we have an id line?\r
- // JBPNote - this code needs to be standardised to EBI/whatever for the\r
- // >dbref/dbref/dbref|refid1|refid2|refid3 'human-readable' style of naming (should it really exist)\r
if (line.charAt(0)=='>')\r
{\r
- seq = parseId(line.substring(1));\r
-\r
if (count != 0)\r
{\r
seq.setSequence(sb.toString());\r
seqs.addElement(seq);\r
}\r
\r
+ seq = parseId(line.substring(1));\r
+\r
count++;\r
sb = new StringBuffer();\r
}\r