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:
288ca81
)
bug fix for unaligned sequence sets and clustal colours (obviated by
author
jprocter
<Jim Procter>
Wed, 23 Feb 2005 15:48:40 +0000
(15:48 +0000)
committer
jprocter
<Jim Procter>
Wed, 23 Feb 2005 15:48:40 +0000
(15:48 +0000)
'aligned' test).
src/jalview/schemes/ClustalxColourScheme.java
patch
|
blob
|
history
diff --git
a/src/jalview/schemes/ClustalxColourScheme.java
b/src/jalview/schemes/ClustalxColourScheme.java
index
d4789e6
..
7faa9a3
100755
(executable)
--- a/
src/jalview/schemes/ClustalxColourScheme.java
+++ b/
src/jalview/schemes/ClustalxColourScheme.java
@@
-61,7
+61,8
@@
public class ClustalxColourScheme implements ColourSchemeI
while(j < seqs.size())
\r
{
\r
seq = ( (SequenceI) seqs.get(j)).getSequence();
\r
- for (i = start; i <= end; i++)
\r
+ int end_j = seq.length()-1;
\r
+ for (i = start; i <= end_j; i++)
\r
{
\r
if(seq.length()-1<i)
\r
res = 23;
\r