]> git.donarmstrong.com Git - mothur.git/blobdiff - unifracunweightedcommand.h
fixed read.tree so that it can read trees generated by fasttree
[mothur.git] / unifracunweightedcommand.h
index c98abc48d748be4dcbb8928283d808b118db29b8..f6f867877620e7e6e69e4e446bdbe8da3815861a 100644 (file)
@@ -23,7 +23,7 @@ class UnifracUnweightedCommand : public Command {
        
        public:
                UnifracUnweightedCommand(string);       
-               ~UnifracUnweightedCommand() { delete unweighted; delete util; }
+               ~UnifracUnweightedCommand() { globaldata->Groups.clear();  if (abort == false) { delete unweighted; delete util; } }
                int execute();
                void help();    
        
@@ -47,7 +47,7 @@ class UnifracUnweightedCommand : public Command {
                
                bool abort, phylip, random;
                string groups, itersString, outputDir;
-               vector<string> Groups; //holds groups to be used
+               vector<string> Groups, outputNames; //holds groups to be used
 
                ofstream outSum, out;
                ifstream inFile;