Refactor to make CellSample class more self-contained

This commit is contained in:
2022-02-24 16:03:49 -06:00
parent 7f18311054
commit 373a5e02f9
4 changed files with 29 additions and 26 deletions

View File

@@ -74,7 +74,7 @@ public class InteractiveInterface {
System.out.println(ex);
sc.next();
}
CellSample sample = Simulator.generateCellSample(numCells, cdr1Freq);
CellSample sample = new CellSample(numCells, cdr1Freq);
assert filename != null;
System.out.println("Writing cells to file");
CellFileWriter writer = new CellFileWriter(filename, sample);