- String prot = r.getString("Protein");
- if (prot.matches("(.*)" + protIn + "(.*)")) {
- ProteinBean structure = new ProteinBean(prot, r.getMap("Predictions", String.class, String.class));
- structure.setJobid(r.getString("JobID"));
- query.add(structure);
+ 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);