From: amwaterhouse Date: Wed, 30 Nov 2005 18:14:57 +0000 (+0000) Subject: Only seek for sequences without features X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=ca05d2959da096c30276df437bc24fcf9dc5adb6;p=jalview.git Only seek for sequences without features --- diff --git a/src/jalview/io/SequenceFeatureFetcher.java b/src/jalview/io/SequenceFeatureFetcher.java index dffe7b9..70eaf83 100755 --- a/src/jalview/io/SequenceFeatureFetcher.java +++ b/src/jalview/io/SequenceFeatureFetcher.java @@ -112,10 +112,13 @@ public class SequenceFeatureFetcher implements Runnable seqIndex++, i++) { SequenceI sequence = (SequenceI) sequences.get(seqIndex); - if(!ids.contains(sequence.getName())) + if(sequence.getSequenceFeatures()==null) { - ids.add(sequence.getName()); - unknownSequences.add(sequence); + if (!ids.contains(sequence.getName())) + { + ids.add(sequence.getName()); + unknownSequences.add(sequence); + } } }