Remove redundant toString() calls

This commit is contained in:
eugenefischer
2022-09-28 02:08:17 -05:00
parent 610da68262
commit 58bb04c431

View File

@@ -235,12 +235,9 @@ public class Simulator implements GraphModificationFunctions {
e = weightIter.next();
Vertex source = graph.getEdgeSource(e);
Vertex target = graph.getEdgeTarget(e);
//Integer source = graph.getEdgeSource(e);
//Integer target = graph.getEdgeTarget(e);
//The match map is all matches found, not just true matches!
matchMap.put(source.getSequence(), target.getSequence());
check = target.getSequence().equals(distCellsMapAlphaKey.get(source.getSequence()));
//check = plateVtoBMap.get(target).equals(distCellsMapAlphaKey.get(plateVtoAMap.get(source)));
if(check) {
trueCount++;
}
@@ -249,11 +246,11 @@ public class Simulator implements GraphModificationFunctions {
}
List<String> result = new ArrayList<>();
//alpha sequence
result.add(source.getSequence().toString());
result.add(source.getSequence());
//alpha well count
result.add(source.getOccupancy().toString());
//beta sequence
result.add(target.getSequence().toString());
result.add(target.getSequence());
//beta well count
result.add(target.getOccupancy().toString());
//overlap count