X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=errorchecking.h;h=d6388f7d2337bacafd148a201cc62a27f83e1375;hb=526a868606faa50caf86e7399f7554c0335b39e5;hp=58161d46886a6b99b73f853d0a36465a6f4b056e;hpb=d5c8caf2d08b7ac6de30e33b1d19cfd246d08f03;p=mothur.git diff --git a/errorchecking.h b/errorchecking.h index 58161d4..d6388f7 100644 --- a/errorchecking.h +++ b/errorchecking.h @@ -9,13 +9,11 @@ * */ -#include -#include -#include +#include "mothur.h" #include "globaldata.hpp" #include "validcommands.h" #include "validparameter.h" -#include "validcalculator.h" + class ErrorCheck { public: @@ -27,20 +25,21 @@ class ErrorCheck { GlobalData* globaldata; ValidCommands* validCommand; ValidParameters* validParameter; - ValidCalculators* validCalculator; - void splitAtDash(string&, vector&); - void splitAtDash(string&, set&); - void splitAtDash(string&, set&); void validateReadFiles(); void validateReadDist(); void validateReadPhil(); void validateParseFiles(); + void validateTreeFiles(); + void validateBinFiles(); + void validateSeqsFiles(); void clear(); - string phylipfile, columnfile, listfile, rabundfile, sabundfile, namefile, groupfile, orderfile, cutoff, format; - string precision, method, fileroot, label, line, iters, jumble, freq, single, rarefaction, shared, summary; + void refresh(); + string phylipfile, columnfile, listfile, rabundfile, sabundfile, namefile, groupfile, orderfile, fastafile, nexusfile, clustalfile, treefile, sharedfile, cutoff, format; + string precision, method, fileroot, label, line, iters, jumble, freq, single, rarefaction, shared, summary, randomtree, abund, sorted, trump, soft, filter, scale, ends, processors; + string templatefile, search, ksize, align, match, mismatch, gapopen, gapextend; string commandName, optionText; bool errorFree; - vector singleEsimators, sharedEstimators, rareEstimators, summaryEstimators, sharedRareEstimators; - + + vector sharedGroups; }; -#endif \ No newline at end of file +#endif