Add the last sequence before annotations
authoramwaterhouse <Andrew Waterhouse>
Thu, 18 Jan 2007 17:22:38 +0000 (17:22 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 18 Jan 2007 17:22:38 +0000 (17:22 +0000)
src/jalview/io/FastaFile.java

index d5a6a66..71d372e 100755 (executable)
@@ -93,7 +93,6 @@ public class FastaFile extends AlignFile
 \r
                       annotations.addElement(aa);\r
                     }\r
-                    annotation = true;\r
                   }\r
                   else\r
                     annotation = false;\r
@@ -117,6 +116,9 @@ public class FastaFile extends AlignFile
                     firstLine = false;\r
 \r
                     sb = new StringBuffer();\r
+\r
+                    if (line.startsWith(">#_"))\r
+                      annotation = true;\r
                 }\r
                 else\r
                 {\r