From e4e3550543dd1c3595a5494e1cdd5868df68845b Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Fri, 24 Feb 2006 11:40:45 +0000 Subject: [PATCH] Use add feature instead of replacing existing values --- src/jalview/io/SequenceFeatureFetcher.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/jalview/io/SequenceFeatureFetcher.java b/src/jalview/io/SequenceFeatureFetcher.java index bfad646..7f11149 100755 --- a/src/jalview/io/SequenceFeatureFetcher.java +++ b/src/jalview/io/SequenceFeatureFetcher.java @@ -301,7 +301,11 @@ public class SequenceFeatureFetcher implements Runnable } sequence.setPDBId(onlyPdbEntries); - sequence.setSequenceFeatures(entry.getFeature()); + e = entry.getFeature().elements(); + while(e.hasMoreElements()) + { + sequence.addSequenceFeature((SequenceFeature)e.nextElement()); + } sequence.setStart(absStart); sequence.setEnd(absEnd); -- 1.7.10.2