Merge branch 'DAO'
[proteocache.git] / server / compbio / controllers / ProteomeController.java
index d5a8c85..3ee0609 100644 (file)
@@ -7,7 +7,8 @@ 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 dealing with proteomes. This version works in the
@@ -75,8 +76,8 @@ public class ProteomeController 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);
                if (null != r) {