X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=summarytaxcommand.cpp;fp=summarytaxcommand.cpp;h=ffa304102b95570669e4e977a9f4859b18c24c71;hb=16abd6271c455bd01b34ff89a2e3641bef0fa128;hp=a19986aba92ffeae80d3786c2322dc3d7d5bb461;hpb=896a4f281982a3c2889f6ce6d73be997072aceae;p=mothur.git diff --git a/summarytaxcommand.cpp b/summarytaxcommand.cpp index a19986a..ffa3041 100644 --- a/summarytaxcommand.cpp +++ b/summarytaxcommand.cpp @@ -157,6 +157,12 @@ SummaryTaxCommand::SummaryTaxCommand(string option) { outputDir = ""; outputDir += m->hasPath(taxfile); //if user entered a file with a path then preserve it } + + if (namefile == "") { + vector files; files.push_back(taxfile); + parser.getNameFile(files); + } + } } catch(exception& e) {