X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=rarefactsharedcommand.cpp;h=6a4fe85b76b56dd5903b98155f0b01121f0f0002;hb=9ca2caadbeac83bb84b3330d9204b1b659d62941;hp=58f73f34e45b61b30e5355ebd38cfa63f988448d;hpb=42b802c0006d8b13bd5b27ea48d032a85d3f2102;p=mothur.git diff --git a/rarefactsharedcommand.cpp b/rarefactsharedcommand.cpp index 58f73f3..6a4fe85 100644 --- a/rarefactsharedcommand.cpp +++ b/rarefactsharedcommand.cpp @@ -9,6 +9,7 @@ #include "rarefactsharedcommand.h" #include "sharedsobs.h" +#include "sharednseqs.h" //********************************************************************************************************************** @@ -25,7 +26,10 @@ RareFactSharedCommand::RareFactSharedCommand(){ if (validCalculator->isValidCalculator("sharedrarefaction", globaldata->Estimators[i]) == true) { if (globaldata->Estimators[i] == "sharedobserved") { rDisplays.push_back(new RareDisplay(new SharedSobs(), new SharedThreeColumnFile(fileNameRoot+"shared.rarefaction", ""))); + }else if (globaldata->Estimators[i] == "sharednseqs") { + rDisplays.push_back(new RareDisplay(new SharedNSeqs(), new SharedThreeColumnFile(fileNameRoot+"shared.r_nseqs", ""))); } + } }