From: jprocter Date: Wed, 23 Feb 2005 15:48:40 +0000 (+0000) Subject: bug fix for unaligned sequence sets and clustal colours (obviated by X-Git-Tag: Release_2_0~637 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=90b966eae5932e288c332bf4fa8fceeab909592c;p=jalview.git bug fix for unaligned sequence sets and clustal colours (obviated by 'aligned' test). --- diff --git a/src/jalview/schemes/ClustalxColourScheme.java b/src/jalview/schemes/ClustalxColourScheme.java index d4789e6..7faa9a3 100755 --- 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()) { seq = ( (SequenceI) seqs.get(j)).getSequence(); - for (i = start; i <= end; i++) + int end_j = seq.length()-1; + for (i = start; i <= end_j; i++) { if(seq.length()-1