From: amwaterhouse Date: Fri, 24 Feb 2006 11:42:57 +0000 (+0000) Subject: Use add seq feature instead of replacing existing features X-Git-Tag: Root_VamJalview_2_07b+~98 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=09feea69607bcbc761c50a7911272f0499ee57e9;p=jalview.git Use add seq feature instead of replacing existing features --- 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()); + } } } }