X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=seqsummarycommand.cpp;h=e9002bd7c12781eb6fd2fdb284da2ea06e65c4fa;hp=fdf95ee6fc5f87ed7629de936f4b0543dc89906a;hb=a54ba6143022dc7294f4fdc468fc10b627c64b0e;hpb=1a20e24ee786195ab0e1cccd4f5aede7a88f3f4e 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) {