X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=readtreecommand.h;h=25e08252dd29c0eab2f5c985805408b3c83e10e3;hb=47af4126c6ece121172cd486c1ca7eeb1ccae2de;hp=5d5b9b5eb74f17983d58fd55610218d2c23a8866;hpb=afcbef163b4f32d0ff25a834cb9af8eef8d06ffa;p=mothur.git diff --git a/readtreecommand.h b/readtreecommand.h index 5d5b9b5..25e0825 100644 --- a/readtreecommand.h +++ b/readtreecommand.h @@ -14,22 +14,28 @@ #include "readtree.h" #include "treemap.h" -class GlobalData; class ReadTreeCommand : public Command { public: ReadTreeCommand(string); - ~ReadTreeCommand(); - int execute(); - void help(); + ReadTreeCommand() { abort = true; calledHelp = true; } + ~ReadTreeCommand() {} + + vector setParameters() { return outputNames; } //dummy doesn't really do anything + string getCommandName() { return "read.tree"; } + string getCommandCategory() { return "Hidden"; } + string getHelpString() { return "This command is no longer available. You can provide your files directly to the downstream commands like unifrac.unweighted."; } + + int execute(); + void help() { m->mothurOut(getHelpString()); } private: - GlobalData* globaldata; ReadTree* read; TreeMap* treeMap; string filename, treefile, groupfile, namefile; bool abort; map nameMap; + vector outputNames; int readNamesFile(); int numUniquesInName;