X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=metastatscommand.cpp;h=b7aa7e5fcb3bcc809c89ac3cc82c1ecae9d6272a;hb=2bb9267aa4b4ecdf8488b06605cc9f3f36fa4332;hp=975924bae580f11271c84ebe79a9897dfe71f58d;hpb=74dc92cf53df65fd8b14d8eaf35489bbecbccac6;p=mothur.git diff --git a/metastatscommand.cpp b/metastatscommand.cpp index 975924b..b7aa7e5 100644 --- a/metastatscommand.cpp +++ b/metastatscommand.cpp @@ -178,14 +178,14 @@ MetaStatsCommand::MetaStatsCommand(string option) { string temp = validParameter.validFile(parameters, "iters", false); if (temp == "not found") { temp = "1000"; } - convert(temp, iters); + m->mothurConvert(temp, iters); temp = validParameter.validFile(parameters, "threshold", false); if (temp == "not found") { temp = "0.05"; } - convert(temp, threshold); + m->mothurConvert(temp, threshold); temp = validParameter.validFile(parameters, "processors", false); if (temp == "not found"){ temp = m->getProcessors(); } m->setProcessors(temp); - convert(temp, processors); + m->mothurConvert(temp, processors); } } @@ -394,7 +394,7 @@ int MetaStatsCommand::driver(int start, int num, vector& th //get set names string setA = namesOfGroupCombos[c][0]; string setB = namesOfGroupCombos[c][1]; - cout << setA << '\t' << setB << endl; + //cout << setA << '\t' << setB << endl; //get filename string outputFileName = outputDir + m->getRootName(m->getSimpleName(sharedfile)) + thisLookUp[0]->getLabel() + "." + setA + "-" + setB + ".metastats"; outputNames.push_back(outputFileName); outputTypes["metastats"].push_back(outputFileName); @@ -425,8 +425,8 @@ int MetaStatsCommand::driver(int start, int num, vector& th } } - for (int i = 0; i < subset.size(); i++) { cout << designMap->getGroup(subset[i]->getGroup()) << endl; } - cout << setACount << endl; + //for (int i = 0; i < subset.size(); i++) { cout << designMap->getGroup(subset[i]->getGroup()) << endl; } + //cout << setACount << endl; if ((setACount == 0) || (setBCount == 0)) { m->mothurOut("Missing shared info for " + setA + " or " + setB + ". Skipping comparison."); m->mothurOutEndLine();