Refactor to reduce code repetition
This commit is contained in:
@@ -260,7 +260,7 @@ public class UserInterface {
|
||||
List<Integer[]> cells = cellReader.getCells();
|
||||
MatchingResult preliminaryResults = Simulator.matchCDR3s(cells, plate, lowThresholdCDR3, highThresholdCDR3);
|
||||
MatchingResult[] results = Simulator.matchCDR1s(cells, plate, lowThresholdCDR1,
|
||||
highThresholdCDR1, preliminaryResults.getMatchMap(), preliminaryResults.getTime());
|
||||
highThresholdCDR1, preliminaryResults);
|
||||
|
||||
//result writer
|
||||
MatchingFileWriter writer = new MatchingFileWriter(filename + "First", results[0].getComments(),
|
||||
|
||||
Reference in New Issue
Block a user