Hashtable size must allow for total-start
authoramwaterhouse <Andrew Waterhouse>
Tue, 14 Dec 2004 11:17:27 +0000 (11:17 +0000)
committeramwaterhouse <Andrew Waterhouse>
Tue, 14 Dec 2004 11:17:27 +0000 (11:17 +0000)
src/jalview/analysis/Conservation.java

index 4a93eef..520036e 100755 (executable)
@@ -145,7 +145,7 @@ public class Conservation {
 \r
       if (percentageGaps > pgaps)\r
       {\r
-        Hashtable resultHash = (Hashtable)total.elementAt(i);\r
+        Hashtable resultHash = (Hashtable)total.elementAt(i-start);\r
 \r
         //Now find the verdict\r
         int         count = 0;\r