]> git.donarmstrong.com Git - mothur.git/blobdiff - collectsharedcommand.cpp
fixed bug with displaying info for collect.shared() and summary.shared().
[mothur.git] / collectsharedcommand.cpp
index 1f5ed558985d4361a4145b9811d19f508b79a630..a6479da20d4e5b52a09cdb06d76676f26ed583e4 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 #include "collectsharedcommand.h"
-#include "sharedsobs.h"
+#include "sharedsobscollectsummary.h"
 #include "sharedchao1.h"
 #include "sharedace.h"
 #include "sharedjabund.h"
@@ -35,7 +35,7 @@ CollectSharedCommand::CollectSharedCommand(){
                        if (globaldata->sharedEstimators[i] == "sharedChao") { 
                                cDisplays.push_back(new CollectDisplay(new SharedChao1(), new SharedOneColumnFile(fileNameRoot+"shared.chao")));
                        }else if (globaldata->sharedEstimators[i] == "sharedSobs") { 
-                               cDisplays.push_back(new CollectDisplay(new SharedSobs(), new SharedOneColumnFile(fileNameRoot+"shared.sobs")));
+                               cDisplays.push_back(new CollectDisplay(new SharedSobsCS(), new SharedOneColumnFile(fileNameRoot+"shared.sobs")));
                        }else if (globaldata->sharedEstimators[i] == "sharedAce") { 
                                cDisplays.push_back(new CollectDisplay(new SharedAce(), new SharedOneColumnFile(fileNameRoot+"shared.ace")));
                        }else if (globaldata->sharedEstimators[i] == "sharedJabund") {