Use add feature instead of replacing existing values
authoramwaterhouse <Andrew Waterhouse>
Fri, 24 Feb 2006 11:40:45 +0000 (11:40 +0000)
committeramwaterhouse <Andrew Waterhouse>
Fri, 24 Feb 2006 11:40:45 +0000 (11:40 +0000)
src/jalview/io/SequenceFeatureFetcher.java

index bfad646..7f11149 100755 (executable)
@@ -301,7 +301,11 @@ public class SequenceFeatureFetcher implements Runnable
       }\r
 \r
       sequence.setPDBId(onlyPdbEntries);\r
-      sequence.setSequenceFeatures(entry.getFeature());\r
+      e = entry.getFeature().elements();\r
+      while(e.hasMoreElements())\r
+      {\r
+          sequence.addSequenceFeature((SequenceFeature)e.nextElement());\r
+      }\r
       sequence.setStart(absStart);\r
       sequence.setEnd(absEnd);\r
 \r