X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=collectsharedcommand.cpp;h=4a3a338944958aa8e9342661847898c20e598f3d;hb=fb01d5df390a98313ca095a812fc240dc079d084;hp=06dbce79b1685a93c13c38f0b3906e6b8f7e9fe3;hpb=599af78a6ea4916919d460a131e2d0dffa28d35e;p=mothur.git diff --git a/collectsharedcommand.cpp b/collectsharedcommand.cpp index 06dbce7..4a3a338 100644 --- a/collectsharedcommand.cpp +++ b/collectsharedcommand.cpp @@ -142,8 +142,11 @@ int CollectSharedCommand::execute(){ util->updateGroupIndex(globaldata->Groups, globaldata->gGroupmap->groupIndex); while(order != NULL){ + orderList.insert(order->getLabel()); + if(globaldata->allLines == 1 || globaldata->lines.count(count) == 1 || globaldata->labels.count(order->getLabel()) == 1){ + //create collectors curve cCurve = new Collect(order, cDisplays); convert(globaldata->getFreq(), freq); @@ -163,6 +166,7 @@ int CollectSharedCommand::execute(){ for(i = globaldata->labels.begin(); i != globaldata->labels.end(); ++i) if(orderList.count(*i) == 0) cout << "'" << *i << "'" << " is not a valid label.\n"; + for(int i=0;i