Make all necessary changes for combining old and new servlets
[proteocache.git] / datadb / compbio / cassandra / CassandraReader.java
index 6e3587b..cb2492e 100644 (file)
@@ -94,6 +94,7 @@ public class CassandraReader {
                }
                return res;
        }
+
        /*
         * getting whole protein sequence from the db ProteinRow
         */
@@ -113,10 +114,6 @@ public class CassandraReader {
                for (Row r : rows) {
                        AnnotatedProteinSequenceBean structure = new AnnotatedProteinSequenceBean(queryProtein, r.getString("JobID"), r.getMap(
                                        "Predictions", String.class, String.class));
-                       if (structure.getPrediction().containsKey("jnetpred"))
-                               structure.setJnetpred(structure.getPrediction().get("jnetpred"));
-                       else
-                               structure.setJnetpred("");
                        res.add(structure);
                        ++c;
                }