From: gmungoc Date: Fri, 1 Mar 2019 09:41:58 +0000 (+0000) Subject: Merge branch 'feature/intervalStoreJ' into merge/JAL-3140 X-Git-Tag: Release_2_11_0~17^2~91^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=4a25d1aa51aa9f76efba8eb278bdd976216bb88e;p=jalview.git Merge branch 'feature/intervalStoreJ' into merge/JAL-3140 --- 4a25d1aa51aa9f76efba8eb278bdd976216bb88e diff --cc src/jalview/datamodel/SequenceI.java index 48615f0,f33132a..84643d1 --- a/src/jalview/datamodel/SequenceI.java +++ b/src/jalview/datamodel/SequenceI.java @@@ -206,17 -206,14 +206,17 @@@ public interface SequenceI extends ASeq public int findPosition(int i); /** - * Returns the from-to sequence positions (start..) for the given column - * positions (1..), or null if no residues are included in the range + * Returns the sequence positions for first and last residues lying within the + * given column positions [fromColum,toColumn] (where columns are numbered + * from 1), or null if no residues are included in the range * * @param fromColum + * - first column base 1 * @param toColumn + * - last column, base 1 * @return */ - public Range findPositions(int fromColum, int toColumn); + public ContiguousI findPositions(int fromColum, int toColumn); /** * Returns an int array where indices correspond to each residue in the