If start is not zero, we need to put -- at the start
authoramwaterhouse <Andrew Waterhouse>
Mon, 6 Nov 2006 17:11:36 +0000 (17:11 +0000)
committeramwaterhouse <Andrew Waterhouse>
Mon, 6 Nov 2006 17:11:36 +0000 (17:11 +0000)
src/jalview/analysis/Conservation.java

index 63f791c..ca5bbb3 100755 (executable)
@@ -295,6 +295,9 @@ public class Conservation
         Hashtable resultHash ;
         Enumeration enumeration;
 
+        for(int i=0; i<start; i++)
+          consString.append('-');
+
 
         for (int i = start; i <= end; i++)
         {
@@ -343,7 +346,7 @@ public class Conservation
             }
             else
             {
-                consString.append("-");
+                consString.append('-');
             }
         }