Merge branch 'DAO' of https://source.jalview.org/git/proteocache into DAO
[proteocache.git] / server / compbio / controllers / SSFeaturesController.java
index 3c66361..a961efe 100644 (file)
@@ -7,7 +7,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RequestMethod;
 import org.springframework.web.bind.annotation.RequestParam;
 
-import compbio.statistic.CassandraRequester;
+import compbio.cassandra.readers.FeaturesReader;
 
 /**
  * Spring controller for protein secondary structure features. This version
@@ -89,8 +89,8 @@ public class SSFeaturesController extends BasicController {
                        return "query/SSFeatures";
                }
 
-               CassandraRequester cr = new CassandraRequester();
-               Map<String, String> r = cr.readProteinsPrediction(typeFeature, realpercent);
+               FeaturesReader reader = new FeaturesReader();
+               Map<String, String> r = reader.readProteinsPrediction(typeFeature, realpercent);
                model.put("results", r);
                model.put("njobs", 0);
                StringBuilder csvline = new StringBuilder("");