Settooltips null
[jalview.git] / src / jalview / analysis / Conservation.java
index 63f791c..1342e93 100755 (executable)
@@ -295,6 +295,12 @@ public class Conservation
         Hashtable resultHash ;
         Enumeration enumeration;
 
+        //NOTE THIS SHOULD CHECK IF THE CONSEQUENCE ALREADY
+        //EXISTS AND NOT OVERWRITE WITH '-', BUT THIS CASE
+        //DOES NOT EXIST IN JALVIEW 2.1.2
+        for(int i=0; i<start; i++)
+          consString.append('-');
+
 
         for (int i = start; i <= end; i++)
         {
@@ -343,7 +349,7 @@ public class Conservation
             }
             else
             {
-                consString.append("-");
+                consString.append('-');
             }
         }