From 40f53cf86e7d8c2a89f23b66024d46633307c83a Mon Sep 17 00:00:00 2001 From: gmungoc Date: Fri, 10 Nov 2017 15:38:19 +0000 Subject: [PATCH] JAL-2562 updated findPosition javadoc to match behaviour --- src/jalview/datamodel/SequenceI.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/jalview/datamodel/SequenceI.java b/src/jalview/datamodel/SequenceI.java index 6e6d1aa..857f206 100755 --- a/src/jalview/datamodel/SequenceI.java +++ b/src/jalview/datamodel/SequenceI.java @@ -192,13 +192,14 @@ public interface SequenceI extends ASequenceI public int findIndex(int pos); /** - * Returns the sequence position for an alignment position. + * Returns the sequence position for an alignment (column) position. If at a + * gap, returns the position of the next residue to the right. If beyond the + * end of the sequence, returns 1 more than the last residue position. * * @param i * column index in alignment (from 0..