X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=unifracunweightedcommand.h;h=f6f867877620e7e6e69e4e446bdbe8da3815861a;hb=cad05a21b084833b07808c1586e755be48fe7e1a;hp=c98abc48d748be4dcbb8928283d808b118db29b8;hpb=315e38cf393c82be238da5b32574f225a020d25c;p=mothur.git diff --git a/unifracunweightedcommand.h b/unifracunweightedcommand.h index c98abc4..f6f8678 100644 --- a/unifracunweightedcommand.h +++ b/unifracunweightedcommand.h @@ -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 Groups; //holds groups to be used + vector Groups, outputNames; //holds groups to be used ofstream outSum, out; ifstream inFile;