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:
cd1ded4
)
end of seq adjustments
author
amwaterhouse
<Andrew Waterhouse>
Fri, 11 Feb 2005 12:43:58 +0000
(12:43 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Fri, 11 Feb 2005 12:43:58 +0000
(12:43 +0000)
src/jalview/datamodel/Sequence.java
patch
|
blob
|
history
diff --git
a/src/jalview/datamodel/Sequence.java
b/src/jalview/datamodel/Sequence.java
index
ebdff92
..
691a1f1
100755
(executable)
--- a/
src/jalview/datamodel/Sequence.java
+++ b/
src/jalview/datamodel/Sequence.java
@@
-139,8
+139,8
@@
public class Sequence implements SequenceI
return this.sequence;
\r
}
\r
public String getSequence(int start,int end) {
\r
- if(end>=sequence.length())
\r
- end = sequence.length()-1;
\r
+ if(end>sequence.length())
\r
+ end = sequence.length();
\r
return this.sequence.substring(start,end);
\r
}
\r
\r