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