X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=summarycommand.cpp;h=06cc9b027de971c65204e3254ef07cc1eacae320;hb=addc715b6d7ea52440751cec10edad03e1a19b37;hp=7a3ad4a1e57e7f3f5dac9539fb2c974cd4e14cbe;hpb=70ac1dc59244e259b1a972385d490d2ac7f511c0;p=mothur.git diff --git a/summarycommand.cpp b/summarycommand.cpp index 7a3ad4a..06cc9b0 100644 --- a/summarycommand.cpp +++ b/summarycommand.cpp @@ -32,6 +32,9 @@ SummaryCommand::SummaryCommand(){ }else if(globaldata->Estimators[i] == "chao"){ sumCalculators.push_back(new Chao1()); }else if(globaldata->Estimators[i] == "ace"){ + convert(globaldata->getAbund(), abund); + if(abund < 5) + abund = 10; sumCalculators.push_back(new Ace()); }else if(globaldata->Estimators[i] == "jack"){ sumCalculators.push_back(new Jackknife());