added sequence feature copy constructor.
[jalview.git] / src / jalview / datamodel / ColumnSelection.java
index 6b44832..e51afd0 100644 (file)
@@ -600,6 +600,8 @@ public class ColumnSelection
     { removeElement(max);  max ++;  }\r
 \r
     min++; max--;\r
+    if(min>max)\r
+      min = max;\r
 \r
     hideColumns(min, max);\r
   }\r
@@ -735,7 +737,7 @@ public class ColumnSelection
     {\r
       for(i=0; i<iSize; i++)\r
       {\r
-        selection[i] = seqs[i].getSequence(start, end);\r
+        selection[i] = seqs[i].getSequenceAsString(start, end);\r
       }\r
     }\r
 \r