From 09feea69607bcbc761c50a7911272f0499ee57e9 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Fri, 24 Feb 2006 11:42:57 +0000 Subject: [PATCH] Use add seq feature instead of replacing existing features --- src/jalview/gui/SequenceFetcher.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/jalview/gui/SequenceFetcher.java b/src/jalview/gui/SequenceFetcher.java index 498489d..e3282d8 100755 --- a/src/jalview/gui/SequenceFetcher.java +++ b/src/jalview/gui/SequenceFetcher.java @@ -288,8 +288,11 @@ public class SequenceFetcher } sequence[i].getDatasetSequence().setPDBId(onlyPdbEntries); - sequence[i].getDatasetSequence().setSequenceFeatures(entry.getFeature()); - + e = entry.getFeature().elements(); + while(e.hasMoreElements()) + { + sequence[i].getDatasetSequence().addSequenceFeature((SequenceFeature)e.nextElement()); + } } } } -- 1.7.10.2