From 3d731dad51b259b16c50834ec24550280fb7dd64 Mon Sep 17 00:00:00 2001 From: jprocter Date: Tue, 22 May 2012 12:33:51 +0100 Subject: [PATCH] update the copy constructor --- src/jalview/datamodel/AlignmentAnnotation.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/jalview/datamodel/AlignmentAnnotation.java b/src/jalview/datamodel/AlignmentAnnotation.java index 9de07dd..f5d34a6 100755 --- a/src/jalview/datamodel/AlignmentAnnotation.java +++ b/src/jalview/datamodel/AlignmentAnnotation.java @@ -518,6 +518,10 @@ public class AlignmentAnnotation this.label = annotation.label; this.padGaps = annotation.padGaps; this.visible = annotation.visible; + this.centreColLabels=annotation.centreColLabels; + this.scaleColLabel=annotation.scaleColLabel; + this.showAllColLabels=annotation.showAllColLabels; + this.calcId = annotation.calcId; if (this.hasScore = annotation.hasScore) { this.score = annotation.score; @@ -567,6 +571,11 @@ public class AlignmentAnnotation } } } + // TODO: check if we need to do this: JAL-952 + //if (this.isrna=annotation.isrna) + { + // _rnasecstr=new SequenceFeature[annotation._rnasecstr]; + } validateRangeAndDisplay(); // construct hashcodes, etc. } -- 1.7.10.2