X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=seqerrorcommand.cpp;h=ecd6f0ceb723290337f5856f724710eff7a751ee;hb=5ca84bbe4393adecc30dc05d64e79091ef35c40f;hp=e48d50794d15b4b77dae6a15134d9bec54c8a911;hpb=75a7fd6a05a22226c71370a8b3f49c5df7507f18;p=mothur.git diff --git a/seqerrorcommand.cpp b/seqerrorcommand.cpp index e48d507..ecd6f0c 100644 --- a/seqerrorcommand.cpp +++ b/seqerrorcommand.cpp @@ -407,6 +407,13 @@ int SeqErrorCommand::execute(){ m->mothurOut("It took " + toString(time(NULL) - start) + " secs to check " + toString(numSeqs) + " sequences."); m->mothurOutEndLine(); + //set fasta file as new current fastafile + string current = ""; + itTypes = outputTypes.find("errorseq"); + if (itTypes != outputTypes.end()) { + if ((itTypes->second).size() != 0) { current = (itTypes->second)[0]; m->setFastaFile(current); } + } + m->mothurOutEndLine(); m->mothurOut("Output File Names: "); m->mothurOutEndLine(); for (int i = 0; i < outputNames.size(); i++) { m->mothurOut(outputNames[i]); m->mothurOutEndLine(); }