Use add seq feature instead of replacing existing features
authoramwaterhouse <Andrew Waterhouse>
Fri, 24 Feb 2006 11:42:57 +0000 (11:42 +0000)
committeramwaterhouse <Andrew Waterhouse>
Fri, 24 Feb 2006 11:42:57 +0000 (11:42 +0000)
src/jalview/gui/SequenceFetcher.java

index 498489d..e3282d8 100755 (executable)
@@ -288,8 +288,11 @@ public class SequenceFetcher
         }\r
 \r
         sequence[i].getDatasetSequence().setPDBId(onlyPdbEntries);\r
-        sequence[i].getDatasetSequence().setSequenceFeatures(entry.getFeature());\r
-\r
+        e = entry.getFeature().elements();\r
+        while(e.hasMoreElements())\r
+        {\r
+          sequence[i].getDatasetSequence().addSequenceFeature((SequenceFeature)e.nextElement());\r
+        }\r
       }\r
     }\r
   }\r