1. Fix bug in SequenceReader
[proteocache.git] / datadb / compbio / cassandra / readers / SequenceReader.java
index 3c0d6e6..7e77126 100644 (file)
@@ -56,6 +56,7 @@ public class SequenceReader extends CassandraReader {
                                String protein = r.getString("Protein");
                                if (protein.matches("(.*)" + sequence + "(.*)")) {
                                        ProteinBean foundsequence = new ProteinBean(protein, r.getMap("Predictions", String.class, String.class));
+                                       foundsequence.setJobid(r.getString("JobID"));
                                        query.add(foundsequence);
                                }
                        }