Remove redundant toString() calls
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user