X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=datadb%2Fcompbio%2Fcassandra%2FCassandraReader.java;h=cb2492e1c33aa32006255eb02efaa50ba6a380fc;hb=4458e44cf92e699159ee1257b1bea6300a9abebe;hp=6e3587bca084484f3c1b3a45ef96c7a14eddda69;hpb=dcc5cd527f48d9c00d4d1bce5d78457867520bb7;p=proteocache.git diff --git a/datadb/compbio/cassandra/CassandraReader.java b/datadb/compbio/cassandra/CassandraReader.java index 6e3587b..cb2492e 100644 --- a/datadb/compbio/cassandra/CassandraReader.java +++ b/datadb/compbio/cassandra/CassandraReader.java @@ -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; }