X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=seqsummarycommand.cpp;h=e9002bd7c12781eb6fd2fdb284da2ea06e65c4fa;hb=feb0fbef36b8a681efc04e9b5e3efb1647b99021;hp=fdf95ee6fc5f87ed7629de936f4b0543dc89906a;hpb=c85db0a4be3a1f8037a71a23ca73f9762184e28a;p=mothur.git diff --git a/seqsummarycommand.cpp b/seqsummarycommand.cpp index fdf95ee..e9002bd 100644 --- a/seqsummarycommand.cpp +++ b/seqsummarycommand.cpp @@ -415,6 +415,13 @@ int SeqSummaryCommand::execute(){ } #endif + //set fasta file as new current fastafile + string current = ""; + itTypes = outputTypes.find("summary"); + if (itTypes != outputTypes.end()) { + if ((itTypes->second).size() != 0) { current = (itTypes->second)[0]; m->setSummaryFile(current); } + } + return 0; } catch(exception& e) {