From cb478a4f8a483c976841e5d5edd251673510d6ae Mon Sep 17 00:00:00 2001 From: cjustin Date: Tue, 12 Oct 2021 14:14:13 -0400 Subject: [PATCH] remove uneeded option --- src/ntSeqMatchCount.cpp | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/src/ntSeqMatchCount.cpp b/src/ntSeqMatchCount.cpp index ddccfde..d2df304 100644 --- a/src/ntSeqMatchCount.cpp +++ b/src/ntSeqMatchCount.cpp @@ -39,7 +39,6 @@ void printHelpDialog() { // " In this mode the number of threads used\n" // " will be equal to the number of files\n" // " plus the number of producer threads.[0]\n" - " -s, --score Score threshold for combined FETs.[0.001]\n" " -r, --ref Wildtype reference fasta. [required]\n" " -a, --var Variant reference fasta. [required]\n" " -k, --kmer Kmer size use. [25]" @@ -61,12 +60,10 @@ int main(int argc, char *argv[]) { //long form arguments static struct option long_options[] = { { "threads", required_argument, - NULL, 't' }, { "score", required_argument, NULL, 's' }, { "ref", - required_argument, NULL, 'r' }, { "var", + NULL, 't' }, { "ref", required_argument, NULL, 'r' }, { "var", required_argument, NULL, 'a' }, { "kmer", required_argument, NULL, 'k' }, { - "help", no_argument, - NULL, 'h' }, { "version", no_argument, &OPT_VERSION, 1 }, { - "verbose", no_argument, NULL, 'v' }, { + "help", no_argument, NULL, 'h' }, { "version", no_argument, + &OPT_VERSION, 1 }, { "verbose", no_argument, NULL, 'v' }, { NULL, 0, NULL, 0 } }; int option_index = 0; @@ -78,14 +75,6 @@ int main(int argc, char *argv[]) { printHelpDialog(); break; } - case 's': { - stringstream convert(optarg); - if (!(convert >> opt::scoreThresh)) { - cerr << "Error - Invalid parameter s: " << optarg << endl; - return 0; - } - break; - } case 'r': { stringstream convert(optarg); if (!(convert >> opt::ref)) {