JAL-2381 don’t need to set description, dbrefs etc for subsequence returned by getSub...
authorJames Procter <j.procter@dundee.ac.uk>
Thu, 25 May 2023 15:29:31 +0000 (16:29 +0100)
committerJames Procter <j.procter@dundee.ac.uk>
Thu, 25 May 2023 15:29:31 +0000 (16:29 +0100)
src/jalview/datamodel/SequenceGroup.java

index 81f8664..326793d 100755 (executable)
@@ -274,14 +274,6 @@ public class SequenceGroup implements AnnotatedCollectionI
               endRes + 1);
       if (seqipos != null)
       {
-        seqipos.setDescription(seq.getDescription());
-        seqipos.setDBRefs(seq.getDBRefs());
-        seqipos.setSequenceFeatures(seq.getSequenceFeatures());
-        if (seq.getDatasetSequence() != null)
-        {
-          seqipos.setDatasetSequence(seq.getDatasetSequence());
-        }
-
         if (seq.getAnnotation() != null)
         {
           AlignmentAnnotation[] alann = align.getAlignmentAnnotation();