Any character non aa or nucleotide is a space
[jalview.git] / src / jalview / io / FastaFile.java
index fe5e02f..684f867 100755 (executable)
@@ -106,13 +106,6 @@ public class FastaFile extends AlignFile
 \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
@@ -153,14 +146,6 @@ public class FastaFile extends AlignFile
 \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