]> git.donarmstrong.com Git - mothur.git/blobdiff - unifracunweightedcommand.h
fixed bug in cluster.split
[mothur.git] / unifracunweightedcommand.h
index 155fa75d6185d3d1bf10923ca56903a9e3e85aa8..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();    
        
@@ -46,8 +46,8 @@ class UnifracUnweightedCommand : public Command {
                vector< map<float, float> > rCumul;  //map <unweighted score, cumulative percentage of number of random trees with that score or higher.> -vector entry for each combination.
                
                bool abort, phylip, random;
-               string groups, itersString;
-               vector<string> Groups; //holds groups to be used
+               string groups, itersString, outputDir;
+               vector<string> Groups, outputNames; //holds groups to be used
 
                ofstream outSum, out;
                ifstream inFile;