X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=metastatscommand.cpp;h=1aaa41e91a3d15eb9d07bb73723ae7514c9b1216;hb=fc1ed1ae1b022719176910ab71993bd6535810ad;hp=7942bfcce548030951e3c5157438d13eb88c17d6;hpb=c651c46022761aef61644f78462365d8f767ff0b;p=mothur.git diff --git a/metastatscommand.cpp b/metastatscommand.cpp index 7942bfc..1aaa41e 100644 --- a/metastatscommand.cpp +++ b/metastatscommand.cpp @@ -393,7 +393,7 @@ int MetaStatsCommand::driver(int start, int num, vector& th //get set names string setA = namesOfGroupCombos[c][0]; string setB = namesOfGroupCombos[c][1]; - + //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); @@ -423,7 +423,9 @@ int MetaStatsCommand::driver(int start, int num, vector& th setACount++; } } - + + //for (int i = 0; i < subset.size(); i++) { cout << subset[i]->getGroup() << endl; } + if ((setACount == 0) || (setBCount == 0)) { m->mothurOut("Missing shared info for " + setA + " or " + setB + ". Skipping comparison."); m->mothurOutEndLine(); outputNames.pop_back();