Rename dropout rate flag

This commit is contained in:
eugenefischer
2022-09-29 23:58:08 -05:00
parent 289220e0d0
commit b9b13fb75e

View File

@@ -96,7 +96,7 @@ public class CommandLineInterface {
Integer[] populations;
String outputFilename = line.getOptionValue("o");
Integer numWells = Integer.parseInt(line.getOptionValue("w"));
Double dropoutRate = Double.parseDouble(line.getOptionValue("err"));
Double dropoutRate = Double.parseDouble(line.getOptionValue("d"));
if (line.hasOption("random")) {
//Array holding values of minimum and maximum populations
Integer[] min_max = Stream.of(line.getOptionValues("random"))
@@ -367,7 +367,8 @@ public class CommandLineInterface {
.hasArgs()
.argName("number [number]...")
.build();
Option dropoutRate = Option.builder("err") //add this to plate options
Option dropoutRate = Option.builder("d") //add this to plate options
.longOpt("dropout-rate")
.hasArg()
.desc("The sequence dropout rate due to amplification error. (0.0 - 1.0)")
.argName("rate")