]> git.donarmstrong.com Git - mothur.git/blobdiff - normalizesharedcommand.cpp
fixed bug with normalize.shared, printed out numbins twice. fixed bug with summary...
[mothur.git] / normalizesharedcommand.cpp
index 93bc7f29a075126c9cb70bcc6f2590bd222a574d..8aec029d9ec718327cc8c2e677f215e7b9e5cc88 100644 (file)
@@ -12,7 +12,7 @@
 //**********************************************************************************************************************
 vector<string> NormalizeSharedCommand::getValidParameters(){   
        try {
-               string Array[] =  {"groups","label","scale","outputdir","inputdir","norm"};
+               string Array[] =  {"groups","label","method","outputdir","inputdir","norm"};
                vector<string> myArray (Array, Array+(sizeof(Array)/sizeof(string)));
                return myArray;
        }
@@ -71,7 +71,7 @@ NormalizeSharedCommand::NormalizeSharedCommand(string option) {
                
                else {
                        //valid paramters for this command
-                       string AlignArray[] =  {"groups","label","scale","outputdir","inputdir","norm"};
+                       string AlignArray[] =  {"groups","label","method","outputdir","inputdir","norm"};
                        vector<string> myArray (AlignArray, AlignArray+(sizeof(AlignArray)/sizeof(string)));
                        
                        OptionParser parser(option);
@@ -322,7 +322,7 @@ int NormalizeSharedCommand::normalize(vector<SharedRAbundVector*>& thisLookUp, o
                 eliminateZeroOTUS(thisLookUp);
                 
                  for (int i = 0; i < thisLookUp.size(); i++) {
-                       out << thisLookUp[i]->getLabel() << '\t' << thisLookUp[i]->getGroup() << '\t' << thisLookUp[i]->getNumBins() << '\t';
+                       out << thisLookUp[i]->getLabel() << '\t' << thisLookUp[i]->getGroup() << '\t';
                        thisLookUp[i]->print(out);
                 }