X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FSequenceGroup.java;h=d253560625d8d94a70575d10d6cf3c426efbeef7;hb=9ff5fcbe6681e37c441656e2f704f8d9bab9179c;hp=7bb967023e03505f5c3ae89eff6e1bfdeb4e2885;hpb=13ae48dd55af238e2c25e957c5feb5a858d7e90e;p=jalview.git diff --git a/src/jalview/datamodel/SequenceGroup.java b/src/jalview/datamodel/SequenceGroup.java index 7bb9670..d253560 100755 --- a/src/jalview/datamodel/SequenceGroup.java +++ b/src/jalview/datamodel/SequenceGroup.java @@ -998,6 +998,18 @@ public class SequenceGroup private boolean showConsensusHistogram; /** + * set this alignmentAnnotation object as the one used to render consensus annotation + * @param aan + */ + public void setConsensus(AlignmentAnnotation aan) + { + if (consensus==null) + { + consensus=aan; + } + } + + /** * * @return automatically calculated consensus row */ @@ -1026,6 +1038,17 @@ public class SequenceGroup } /** + * set this alignmentAnnotation object as the one used to render consensus annotation + * @param aan + */ + public void setConservationRow(AlignmentAnnotation aan) + { + if (conservation==null) + { + conservation=aan; + } + } + /** * get the conservation annotation row for this group * * @return autoCalculated annotation row