X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=errorchecking.h;h=c6671677ff40b0b398cdd4361781c7b9ad0ec1a2;hb=6f9dc7ca71d7b8ed4aba2824f76ae6b29da89f3b;hp=d1e2f82451cc3f5d5e4be6d7496894d6b884e9cc;hpb=58cf1d08fee8c64334979075fa57bcafb035a2ed;p=mothur.git diff --git a/errorchecking.h b/errorchecking.h index d1e2f82..c667167 100644 --- a/errorchecking.h +++ b/errorchecking.h @@ -9,12 +9,11 @@ * */ -#include -#include +#include "mothur.h" #include "globaldata.hpp" #include "validcommands.h" #include "validparameter.h" -#include "validcalculator.h" + class ErrorCheck { public: @@ -26,21 +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, fastafile, treefile, 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, size; + string candidatefile, search, ksize, align, match, mismatch, gapopen, gapextend; string commandName, optionText; bool errorFree; - vector singleEsimators, sharedEstimators, rareEstimators, summaryEstimators, sharedRareEstimators; - + + vector sharedGroups; }; #endif