]> git.donarmstrong.com Git - mothur.git/blobdiff - clusterdoturcommand.cpp
changes while testing 1.27
[mothur.git] / clusterdoturcommand.cpp
index 34d2e0eed2bdbf9b97b2997a73fc7cf6f8e60b2f..2515b5c15129434f4d45c19f798c76c7645ad369 100644 (file)
@@ -352,11 +352,12 @@ int ClusterDoturCommand::execute(){
 
 void ClusterDoturCommand::printData(string label){
        try {
-       
-               oldRAbund.setLabel(label);
-               oldRAbund.print(rabundFile);
-               oldRAbund.getSAbundVector().print(sabundFile);
-               
+        oldRAbund.setLabel(label);
+        if (countfile == "") {
+            oldRAbund.print(rabundFile);
+            oldRAbund.getSAbundVector().print(sabundFile);
+        }
+
                oldRAbund.getSAbundVector().print(cout);
                
                oldList.setLabel(label);