X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=chimeraccodecommand.cpp;fp=chimeraccodecommand.cpp;h=457eaf314bf304fe3d7f9e5eec67509f07236a35;hb=348de0f8b17d84ede77081dcf67bd6ef43496677;hp=8a4ccdedea59eb676ecf4f2161e9c1719db8f72a;hpb=5e031adc86a1fc125c4abb3d4048f209d52f9b6d;p=mothur.git diff --git a/chimeraccodecommand.cpp b/chimeraccodecommand.cpp index 8a4ccde..457eaf3 100644 --- a/chimeraccodecommand.cpp +++ b/chimeraccodecommand.cpp @@ -435,6 +435,14 @@ int ChimeraCcodeCommand::execute(){ m->mothurOutEndLine(); m->mothurOut("It took " + toString(time(NULL) - start) + " secs to check " + toString(numSeqs) + " sequences."); m->mothurOutEndLine(); } + + //set accnos file as new current accnosfile + string current = ""; + itTypes = outputTypes.find("accnos"); + if (itTypes != outputTypes.end()) { + if ((itTypes->second).size() != 0) { current = (itTypes->second)[0]; m->setAccnosFile(current); } + } + m->mothurOutEndLine(); m->mothurOut("Output File Names: "); m->mothurOutEndLine(); for (int i = 0; i < outputNames.size(); i++) { m->mothurOut(outputNames[i]); m->mothurOutEndLine(); }