\r
if (!firstLine)\r
{\r
- if (!annotation && !isValidProteinSequence(sb.toString().toCharArray()))\r
- {\r
- throw new IOException(AppletFormatAdapter.INVALID_CHARACTERS\r
- +" : "+seq.getName()\r
- +" : "+invalidCharacter);\r
- }\r
-\r
seq.setSequence(sb.toString());\r
\r
if (!annotation)\r
\r
else if (!firstLine)\r
{\r
-\r
- if (!isValidProteinSequence(sb.toString().toCharArray()))\r
- {\r
- throw new IOException(AppletFormatAdapter.INVALID_CHARACTERS\r
- +" : "+seq.getName()\r
- +" : "+invalidCharacter);\r
- }\r
-\r
seq.setSequence(sb.toString());\r
seqs.addElement(seq);\r
}\r