From: amwaterhouse Date: Fri, 24 Feb 2006 11:40:45 +0000 (+0000) Subject: Use add feature instead of replacing existing values X-Git-Tag: Root_VamJalview_2_07b+~101 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=e4e3550543dd1c3595a5494e1cdd5868df68845b;p=jalview.git Use add feature instead of replacing existing values --- 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);