X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bootstrapsharedcommand.cpp;h=afc3cf1533475b6bf78b8127ba34086193612371;hb=a4f05f09c250323132a4b9427f41a3ededaec634;hp=66a43976c8c5b6ca61090f78a216acfae99d694f;hpb=c69e2e9749626cfbf1d6cb0125ae94f869e00b18;p=mothur.git diff --git a/bootstrapsharedcommand.cpp b/bootstrapsharedcommand.cpp index 66a4397..afc3cf1 100644 --- a/bootstrapsharedcommand.cpp +++ b/bootstrapsharedcommand.cpp @@ -340,6 +340,13 @@ int BootSharedCommand::execute(){ //reset groups parameter globaldata->Groups.clear(); + //set first tree file as new current treefile + string currentTree = ""; + itTypes = outputTypes.find("tree"); + if (itTypes != outputTypes.end()) { + if ((itTypes->second).size() != 0) { currentTree = (itTypes->second)[0]; m->setTreeFile(currentTree); } + } + m->mothurOutEndLine(); m->mothurOut("Output File Names: "); m->mothurOutEndLine(); for (int i = 0; i < outputNames.size(); i++) { m->mothurOut(outputNames[i]); m->mothurOutEndLine(); }