Only seek for sequences without features
authoramwaterhouse <Andrew Waterhouse>
Wed, 30 Nov 2005 18:14:57 +0000 (18:14 +0000)
committeramwaterhouse <Andrew Waterhouse>
Wed, 30 Nov 2005 18:14:57 +0000 (18:14 +0000)
src/jalview/io/SequenceFeatureFetcher.java

index dffe7b9..70eaf83 100755 (executable)
@@ -112,10 +112,13 @@ public class SequenceFeatureFetcher implements Runnable
              seqIndex++, i++)\r
         {\r
           SequenceI sequence = (SequenceI) sequences.get(seqIndex);\r
-          if(!ids.contains(sequence.getName()))\r
+          if(sequence.getSequenceFeatures()==null)\r
           {\r
-            ids.add(sequence.getName());\r
-            unknownSequences.add(sequence);\r
+            if (!ids.contains(sequence.getName()))\r
+            {\r
+              ids.add(sequence.getName());\r
+              unknownSequences.add(sequence);\r
+            }\r
           }\r
         }\r
 \r