FileParse object can be re-used to read different files concatenated together
[jalview.git] / src / jalview / io / FeaturesFile.java
index 3c8ad21..e961683 100755 (executable)
@@ -55,6 +55,10 @@ public class FeaturesFile
   {\r
     super(inFile, type);\r
   }\r
+  public FeaturesFile(FileParse source) throws IOException\r
+  {\r
+    super(source);\r
+  }\r
 \r
   /**\r
    * The Application can render HTML, but the applet will\r
@@ -153,7 +157,7 @@ public class FeaturesFile
             // Still possible this is an old Jalview file,\r
             // which does not have type colours at the beginning\r
             token = st.nextToken();\r
-            seq = align.findName(token);\r
+            seq = align.findName(token, true);\r
             if (seq != null)\r
             {\r
               desc = st.nextToken();\r
@@ -225,7 +229,7 @@ public class FeaturesFile
           \r
           if (!token.equals("ID_NOT_SPECIFIED"))\r
           {\r
-            seq = align.findName(token);\r
+            seq = align.findName(token, true);\r
             st.nextToken();\r
           }\r
           else\r