X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=clusterdoturcommand.cpp;h=2515b5c15129434f4d45c19f798c76c7645ad369;hb=b866e1519a60681527244036428104ad1cb90c93;hp=34d2e0eed2bdbf9b97b2997a73fc7cf6f8e60b2f;hpb=529ec122f7cac4af987e121d150b878d7c7a0d5d;p=mothur.git diff --git a/clusterdoturcommand.cpp b/clusterdoturcommand.cpp index 34d2e0e..2515b5c 100644 --- a/clusterdoturcommand.cpp +++ b/clusterdoturcommand.cpp @@ -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);