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; Integer[] populations;
String outputFilename = line.getOptionValue("o"); String outputFilename = line.getOptionValue("o");
Integer numWells = Integer.parseInt(line.getOptionValue("w")); 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")) { if (line.hasOption("random")) {
//Array holding values of minimum and maximum populations //Array holding values of minimum and maximum populations
Integer[] min_max = Stream.of(line.getOptionValues("random")) Integer[] min_max = Stream.of(line.getOptionValues("random"))
@@ -367,7 +367,8 @@ public class CommandLineInterface {
.hasArgs() .hasArgs()
.argName("number [number]...") .argName("number [number]...")
.build(); .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() .hasArg()
.desc("The sequence dropout rate due to amplification error. (0.0 - 1.0)") .desc("The sequence dropout rate due to amplification error. (0.0 - 1.0)")
.argName("rate") .argName("rate")