From ca05d2959da096c30276df437bc24fcf9dc5adb6 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Wed, 30 Nov 2005 18:14:57 +0000 Subject: [PATCH] Only seek for sequences without features --- src/jalview/io/SequenceFeatureFetcher.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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); + } } } -- 1.7.10.2