X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=errorchecking.cpp;h=41c1db9e678c5890472d9259017a16f6d6b84dc3;hp=8a56c15c9d977de80c230922405c97589251324a;hb=fd282e6b4be2560f5b1bd154a9e8d24b798eefaf;hpb=67b6343929b6dbed97c4b26c3bb849725d573f6d diff --git a/errorchecking.cpp b/errorchecking.cpp index 8a56c15..41c1db9 100644 --- a/errorchecking.cpp +++ b/errorchecking.cpp @@ -210,10 +210,13 @@ bool ErrorCheck::checkInput(string input) { validateReadFiles(); validateReadDist(); }else if (commandName == "read.otu") { - validateReadFiles(); - validateReadPhil(); - }else if (commandName == "read.list") { - validateParseFiles(); //checks the listfile and groupfile parameters + //you want to do shared commands + if ((listfile != "") && (groupfile != "")) { + validateParseFiles(); //checks the listfile and groupfile parameters + }else { //you want to do single commands + validateReadFiles(); + validateReadPhil(); + } }else if (commandName == "deconvolute") { validateReadFiles(); }