]> git.donarmstrong.com Git - mothur.git/blobdiff - normalizesharedcommand.cpp
added shared file type to get.groups and remove.groups
[mothur.git] / normalizesharedcommand.cpp
index 1066ab7c33b81cbb230e9f8985fa101c65672c7b..51c755cc6bdc91d767e56c79771bfe1d81fef2c4 100644 (file)
@@ -643,7 +643,7 @@ int NormalizeSharedCommand::eliminateZeroOTUS(vector<SharedRAbundVector*>& thisl
                                        newLookup[j]->push_back(thislookup[j]->getAbundance(i), thislookup[j]->getGroup());
                                }
                                //if there is a bin label use it otherwise make one
-                               string binLabel = "Otu" + (i+1);
+                               string binLabel = "Otu" + toString(i+1);
                                if (i < m->currentBinLabels.size()) {  binLabel = m->currentBinLabels[i]; }
                                
                                newBinLabels.push_back(binLabel);
@@ -692,7 +692,7 @@ int NormalizeSharedCommand::eliminateZeroOTUS(vector<SharedRAbundFloatVector*>&
                                        newLookup[j]->push_back(thislookup[j]->getAbundance(i), thislookup[j]->getGroup());
                                }
                                //if there is a bin label use it otherwise make one
-                               string binLabel = "Otu" + (i+1);
+                               string binLabel = "Otu" + toString(i+1);
                                if (i < m->currentBinLabels.size()) {  binLabel = m->currentBinLabels[i]; }
                                
                                newBinLabels.push_back(binLabel);