From 837b34ffd916e7aa1cefd068b952652bad8482b5 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Wed, 7 Oct 2015 12:51:59 +0100 Subject: [PATCH] JAL-1912 javadoc for adjustForAlignment stating current behaviour --- src/jalview/datamodel/AlignmentAnnotation.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/jalview/datamodel/AlignmentAnnotation.java b/src/jalview/datamodel/AlignmentAnnotation.java index b00f27d..830dbc7 100755 --- a/src/jalview/datamodel/AlignmentAnnotation.java +++ b/src/jalview/datamodel/AlignmentAnnotation.java @@ -957,6 +957,12 @@ public class AlignmentAnnotation } + /** + * When positional annotation and a sequence reference is present, clears and + * resizes the annotations array to the current alignment width, and adds + * annotation according to aligned positions of the sequenceRef given by + * sequenceMapping. + */ public void adjustForAlignment() { if (sequenceRef == null) -- 1.7.10.2