X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sharedcommand.cpp;h=9afb401014faaf097a1a30c2b1802d82ae8e659f;hb=ac1da2a793271cb67f2a2155c5558e1fabdd6aba;hp=26ba2211906fa025e3807aedf8c13ef3d913e413;hpb=fe346922fe0af5b1a025beacb211078d37598fd4;p=mothur.git diff --git a/sharedcommand.cpp b/sharedcommand.cpp index 26ba221..9afb401 100644 --- a/sharedcommand.cpp +++ b/sharedcommand.cpp @@ -156,9 +156,9 @@ void SharedCommand::printSharedData(vector thislookup) { out << thislookup[i]->getLabel() << '\t' << thislookup[i]->getGroup() << '\t'; thislookup[i]->print(out); + RAbundVector rav = thislookup[i]->getRAbundVector(); openOutputFileAppend(fileroot + thislookup[i]->getGroup() + ".rabund", *(filehandles[thislookup[i]->getGroup()])); - (*filehandles[thislookup[i]->getGroup()]) << thislookup[i]->getLabel() << '\t' << thislookup[i]->getGroup() << '\t'; - thislookup[i]->print(*(filehandles[thislookup[i]->getGroup()])); + rav.print(*(filehandles[thislookup[i]->getGroup()])); (*(filehandles[thislookup[i]->getGroup()])).close(); }