reimplement CLI (in progress)

This commit is contained in:
2022-02-22 19:42:23 -06:00
parent 906c06062f
commit 875f457a2d
3 changed files with 64 additions and 25 deletions

View File

@@ -31,10 +31,10 @@ public class InteractiveInterface {
try {
input = sc.nextInt();
switch (input) {
case 1 -> makeCellsInteractive();
case 2 -> makePlateInteractive();
case 3 -> makeCDR3GraphInteractive();
case 4 -> matchCDR3sInteractive();
case 1 -> makeCells();
case 2 -> makePlate();
case 3 -> makeCDR3Graph();
case 4 -> matchCDR3s();
//case 6 -> matchCellsCDR1();
case 9 -> acknowledge();
case 0 -> quit = true;
@@ -48,7 +48,7 @@ public class InteractiveInterface {
sc.close();
}
private static void makeCellsInteractive() {
private static void makeCells() {
String filename = null;
Integer numCells = 0;
Integer cdr1Freq = 1;
@@ -79,7 +79,7 @@ public class InteractiveInterface {
}
//Output a CSV of sample plate
private static void makePlateInteractive() {
private static void makePlate() {
String cellFile = null;
String filename = null;
Double stdDev = 0.0;
@@ -192,7 +192,7 @@ public class InteractiveInterface {
}
//Output serialized binary of GraphAndMapData object
private static void makeCDR3GraphInteractive() {
private static void makeCDR3Graph() {
String filename = null;
String cellFile = null;
String plateFile = null;
@@ -241,7 +241,7 @@ public class InteractiveInterface {
}
//Simulate matching and output CSV file of results
private static void matchCDR3sInteractive() throws IOException {
private static void matchCDR3s() throws IOException {
String filename = null;
String dataFilename = null;
Integer lowThreshold = 0;