X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=globaldata.cpp;h=da81879f48fff6fbe87ac67ba950afd84c03a69e;hp=64a7c93ac0a7c5067cf102250d3efd9cf8ab7380;hb=f20505bcd9f07e0b5f967be0e8d414076d9a5678;hpb=38fd0bcfcb1a77ce58a0d1c8ec7c8c8541cf3892 diff --git a/globaldata.cpp b/globaldata.cpp index 64a7c93..da81879 100644 --- a/globaldata.cpp +++ b/globaldata.cpp @@ -190,6 +190,14 @@ void GlobalData::parseGlobalData(string commandString, string optionText){ Estimators.clear(); splitAtDash(calc, Estimators); } + if (commandName == "venn") { + if ((calc == "default") || (calc == "")) { + if (format == "list") { calc = "sobs"; } + else { calc = "sharedsobs"; } + } + Estimators.clear(); + splitAtDash(calc, Estimators); + } //if you have done a read.otu with a groupfile but don't want to use it anymore because you want to do single commands if ((commandName == "collect.single") || (commandName == "rarefaction.single") || (commandName == "summary.single")) {