X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=rarefactsharedcommand.cpp;h=5e36299505246ecbdbae8c64822a59e916f54dcc;hb=8c548985e92f5be0bde10eddea89a6ae888b73da;hp=189be88de11e4160b4e185727e324a581063727f;hpb=e765c82f82cf749825b4e577636553afb66d0dc8;p=mothur.git diff --git a/rarefactsharedcommand.cpp b/rarefactsharedcommand.cpp index 189be88..5e36299 100644 --- a/rarefactsharedcommand.cpp +++ b/rarefactsharedcommand.cpp @@ -15,20 +15,13 @@ RareFactSharedCommand::RareFactSharedCommand(){ try { globaldata = GlobalData::getInstance(); - string fileNameRoot, groups; + string fileNameRoot; fileNameRoot = getRootName(globaldata->inputFileName); - groupmap = globaldata->gGroupmap; - - //initialize groups for label - groups = ""; - for (int i = 0; i < groupmap->namesOfGroups.size(); i++) { - groups = groups + groupmap->namesOfGroups[i]; - } - + int i; for (i=0; isharedRareEstimators.size(); i++) { if (globaldata->sharedRareEstimators[i] == "sharedobserved") { - rDisplays.push_back(new RareDisplay(new SharedSobs(), new SharedThreeColumnFile(fileNameRoot+"r_shared.observed", groups))); + rDisplays.push_back(new RareDisplay(new SharedSobs(), new SharedThreeColumnFile(fileNameRoot+"shared.rarefaction", ""))); } } }