X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=errorchecking.cpp;h=430729d026ec5082416d2cdc118413dee290e48d;hb=39ef0543b73cb12dfc64529522b66ad3df7527d0;hp=d827929fd94290dbfb302d0fe36e76f4982874a0;hpb=7e0cf6431e287072c40b2c10c9e08199fce29ef4;p=mothur.git diff --git a/errorchecking.cpp b/errorchecking.cpp index d827929..430729d 100644 --- a/errorchecking.cpp +++ b/errorchecking.cpp @@ -352,13 +352,12 @@ bool ErrorCheck::checkInput(string input) { //you want to do shared commands if ((listfile != "") && (groupfile != "")) { validateParseFiles(); //checks the listfile and groupfile parameters - }else { //you want to do single commands + }else if (listfile != "") { //you want to do single commands validateReadFiles(); validateReadPhil(); + }else {//you are reading a shared file + validateReadFiles(); } - }else if (commandName == "read.shared") { - //you want to do shared commands with just the shared file - validateReadFiles(); }else if (commandName == "read.tree") { validateTreeFiles(); //checks the treefile and groupfile parameters }else if (commandName == "deconvolute") {