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:
093f83d
)
patch for JAL-700
author
jprocter
<Jim Procter>
Fri, 12 Nov 2010 14:58:44 +0000
(14:58 +0000)
committer
jprocter
<Jim Procter>
Fri, 12 Nov 2010 14:58:44 +0000
(14:58 +0000)
src/jalview/datamodel/Alignment.java
patch
|
blob
|
history
diff --git
a/src/jalview/datamodel/Alignment.java
b/src/jalview/datamodel/Alignment.java
index
1a0d82c
..
42559c6
100755
(executable)
--- a/
src/jalview/datamodel/Alignment.java
+++ b/
src/jalview/datamodel/Alignment.java
@@
-143,7
+143,7
@@
public class Alignment implements AlignmentI
*/
public SequenceI getSequenceAt(int i)
{
- if (i < sequences.size())
+ if (i>-1 && i < sequences.size())
{
return (SequenceI) sequences.elementAt(i);
}