JAL-3388 correct class for column 0 Ref Sequence bug/JAL-3388structureChooserSorting
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Tue, 30 Jul 2019 16:51:13 +0000 (17:51 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Tue, 30 Jul 2019 16:51:13 +0000 (17:51 +0100)
src/jalview/fts/core/FTSRestResponse.java

index d9658e4..597bb89 100644 (file)
@@ -21,6 +21,7 @@
 
 package jalview.fts.core;
 
+import jalview.datamodel.SequenceI;
 import jalview.fts.api.FTSData;
 import jalview.fts.api.FTSDataColumnI;
 
@@ -106,7 +107,7 @@ public class FTSRestResponse
       {
         if (colOffset == 1 && columnIndex == 0)
         {
-          return String.class;
+          return SequenceI.class;
         }
         return cols[columnIndex - colOffset].getDataType()
                 .getDataTypeClass();