X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=filtersharedcommand.cpp;h=a2510a697737c5596a47cf5a0f36a950959c2b04;hp=5b5fcb1a5ed36578ebb70b3e8f3ac1048ec1ad4f;hb=cf9987b67aa49777a4c91c2d21f96e58bf17aa82;hpb=feb0fbef36b8a681efc04e9b5e3efb1647b99021 diff --git a/filtersharedcommand.cpp b/filtersharedcommand.cpp index 5b5fcb1..a2510a6 100644 --- a/filtersharedcommand.cpp +++ b/filtersharedcommand.cpp @@ -325,7 +325,7 @@ int FilterSharedCommand::processShared(vector& thislookup) try { //save mothurOut's binLabels to restore for next label - vector saveBinLabels = m->currentBinLabels; + vector saveBinLabels = m->currentSharedBinLabels; map variables; variables["[filename]"] = outputDir + m->getRootName(m->getSimpleName(sharedfile)); @@ -474,7 +474,7 @@ int FilterSharedCommand::processShared(vector& thislookup) m->openOutputFile(outputFileName, out); outputTypes["shared"].push_back(outputFileName); outputNames.push_back(outputFileName); - m->currentBinLabels = filteredLabels; + m->currentSharedBinLabels = filteredLabels; filteredLookup[0]->printHeaders(out); @@ -486,7 +486,7 @@ int FilterSharedCommand::processShared(vector& thislookup) //save mothurOut's binLabels to restore for next label - m->currentBinLabels = saveBinLabels; + m->currentSharedBinLabels = saveBinLabels; for (int j = 0; j < filteredLookup.size(); j++) { delete filteredLookup[j]; }