diff --git a/src/main/java/Simulator.java b/src/main/java/Simulator.java index 5fb414b..08761c7 100644 --- a/src/main/java/Simulator.java +++ b/src/main/java/Simulator.java @@ -106,7 +106,7 @@ public class Simulator implements GraphModificationFunctions { //List alphaVertices = new ArrayList<>(plateVtoAMap.keySet()); //This will work because LinkedHashMap preserves order of entry List alphaVertices = new ArrayList<>(); //start with map of all alphas mapped to vertex values, get occupancy from the alphaWellCounts map - for (Integer seq: plateAtoVMap.keySet()) { + for (Integer seq : plateAtoVMap.keySet()) { Vertex alphaVertex = new Vertex(SequenceType.CDR3_ALPHA, seq, alphaWellCounts.get(seq), plateAtoVMap.get(seq)); alphaVertices.add(alphaVertex); } @@ -236,7 +236,7 @@ public class Simulator implements GraphModificationFunctions { //Integer target = graph.getEdgeTarget(e); //The match map is all matches found, not just true matches! matchMap.put(source.getSequence(), target.getSequence()); - check = target.getOccupancy().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) { trueCount++;