From: James Procter Date: Thu, 25 May 2023 15:29:31 +0000 (+0100) Subject: JAL-2381 don’t need to set description, dbrefs etc for subsequence returned by getSub... X-Git-Tag: Release_2_11_3_0~14^2~3^2^2~12 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=b117912a656de4b937e3684d58254c215b357ad5;p=jalview.git JAL-2381 don’t need to set description, dbrefs etc for subsequence returned by getSubSequence(started) --- diff --git a/src/jalview/datamodel/SequenceGroup.java b/src/jalview/datamodel/SequenceGroup.java index 81f8664..326793d 100755 --- a/src/jalview/datamodel/SequenceGroup.java +++ b/src/jalview/datamodel/SequenceGroup.java @@ -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();