git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d7fb0e4
)
JAL-2562 updated findPosition javadoc to match behaviour
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Fri, 10 Nov 2017 15:38:19 +0000
(15:38 +0000)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Fri, 10 Nov 2017 15:38:19 +0000
(15:38 +0000)
src/jalview/datamodel/SequenceI.java
patch
|
blob
|
history
diff --git
a/src/jalview/datamodel/SequenceI.java
b/src/jalview/datamodel/SequenceI.java
index
6e6d1aa
..
857f206
100755
(executable)
--- 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);
/**
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..<length)
*
*
* @param i
* column index in alignment (from 0..<length)
*
- * @return TODO: JAL-2562 - residue number for residue (left of and) nearest
- * ith column
+ * @return
*/
public int findPosition(int i);
*/
public int findPosition(int i);