Recording source file names in output files, allowing output of intermediate results
This commit is contained in:
@@ -213,7 +213,7 @@ public class Simulator {
|
||||
System.out.println(s);
|
||||
}
|
||||
|
||||
return new MatchingResult(comments, header, allResults, matchMap, time);
|
||||
return new MatchingResult(samplePlate.getSourceFileName(), comments, header, allResults, matchMap, time);
|
||||
}
|
||||
|
||||
//Simulated matching of CDR1s to CDR3s. Requires MatchingResult from prior run of matchCDR3s.
|
||||
@@ -466,7 +466,8 @@ public class Simulator {
|
||||
headers.add("second matched CDR1");
|
||||
headers.add("Correct match?");
|
||||
|
||||
MatchingResult firstTest = new MatchingResult(comments, headers, allResults, dualMatchesMap, time);
|
||||
MatchingResult firstTest = new MatchingResult(samplePlate.getSourceFileName(),
|
||||
comments, headers, allResults, dualMatchesMap, time);
|
||||
|
||||
//results for dual map
|
||||
System.out.println("RESULTS FOR SECOND PASS MATCHING");
|
||||
@@ -515,7 +516,8 @@ public class Simulator {
|
||||
}
|
||||
|
||||
System.out.println("Simulation time: " + nf.format(time.toSeconds()) + " seconds");
|
||||
MatchingResult dualTest = new MatchingResult(comments, headers, allResults, dualMatchesMap, time);
|
||||
MatchingResult dualTest = new MatchingResult(samplePlate.getSourceFileName(), comments, headers,
|
||||
allResults, dualMatchesMap, time);
|
||||
MatchingResult[] output = {firstTest, dualTest};
|
||||
return output;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user