X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=summarycommand.cpp;h=6ef1faeef4147bdedbaaa31f14076c8a078a1622;hp=228b93344d50967a065328be487dc30fc1d6c34c;hb=71b2121662daae3f9044252887d1c16eeddd85bb;hpb=5a9f3cce3e2e053c249e3e97507ce180f0854d76 diff --git a/summarycommand.cpp b/summarycommand.cpp index 228b933..6ef1fae 100644 --- a/summarycommand.cpp +++ b/summarycommand.cpp @@ -236,7 +236,7 @@ int SummaryCommand::execute(){ if(allLines == 1 || lines.count(count) == 1 || labels.count(sabund->getLabel()) == 1){ - mothurOut(sabund->getLabel() + "\t" + toString(count)); mothurOutEndLine(); + mothurOut(sabund->getLabel()); mothurOutEndLine(); processedLabels.insert(sabund->getLabel()); userLabels.erase(sabund->getLabel()); userLines.erase(count); @@ -255,7 +255,7 @@ int SummaryCommand::execute(){ delete sabund; sabund = input->getSAbundVector(lastLabel); - mothurOut(sabund->getLabel() + "\t" + toString(count)); mothurOutEndLine(); + mothurOut(sabund->getLabel()); mothurOutEndLine(); processedLabels.insert(sabund->getLabel()); userLabels.erase(sabund->getLabel()); @@ -293,7 +293,7 @@ int SummaryCommand::execute(){ delete sabund; sabund = input->getSAbundVector(lastLabel); - mothurOut(sabund->getLabel() + "\t" + toString(count)); mothurOutEndLine(); + mothurOut(sabund->getLabel()); mothurOutEndLine(); outputFileHandle << sabund->getLabel(); for(int i=0;i data = sumCalculators[i]->getValues(sabund);