X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=seqerrorcommand.cpp;h=641a3abce04bde1b8002e11af636fcd5e58bc6e2;hb=2a29fceeeb8754c3fd97ba830d2fbed5c4349ee8;hp=0a6eae93df72e8556554bef32c5a52074a4d0a54;hpb=567e4bca5d62bd8ea316ce5def320d070d7507b8;p=mothur.git diff --git a/seqerrorcommand.cpp b/seqerrorcommand.cpp index 0a6eae9..641a3ab 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(); }