for (Row r : rows) {
String prot = r.getString("Protein");
String prediction = findJnetpred(r.getMap("Predictions", String.class, String.class));
- if (prot != null || prediction != null)
+ if (prot != null || prediction != null)
res.put(prot, prediction);
}
final long endTime = System.currentTimeMillis();
return res;
}
- private String findJnetpred (Map<String,String> pred) {
+ private String findJnetpred(Map<String, String> pred) {
if (pred != null) {
- if (pred.containsKey("jnetpred"))
+ if (pred.containsKey("jnetpred"))
return pred.get("jnetpred");
}
return null;
}
+
/*
* getting protein sequences by counter
*/