]> git.donarmstrong.com Git - mothur.git/blobdiff - getrabundcommand.cpp
chimera.slayer
[mothur.git] / getrabundcommand.cpp
index 570d64e34166cafcf734181a370dd9fc854e64a3..2f49a3b37181603f88065629ddc73f5194be49d9 100644 (file)
@@ -39,7 +39,7 @@ string GetRAbundCommand::getHelpString(){
                helpString += "Example get.rabund(sorted=F).\n";
                helpString += "The default value for label is all labels in your inputfile.\n";
                helpString += "The get.rabund command outputs a .rabund file containing the lines you selected.\n";
-               helpString += "Note: No spaces between parameter labels (i.e. label), '=' and parameters (i.e.yourLabels).\n\n";
+               helpString += "Note: No spaces between parameter labels (i.e. label), '=' and parameters (i.e.yourLabels).\n";
                return helpString;
        }
        catch(exception& e) {
@@ -194,8 +194,6 @@ int GetRAbundCommand::execute(){
                                        
                                        if(sorted)      {   rabund->print(out);                         }
                                        else            {       rabund->nonSortedPrint(out);    }
-                                       
-                                       delete rabund;
                                                                                                                        
                                        processedLabels.insert(rabund->getLabel());
                                        userLabels.erase(rabund->getLabel());
@@ -214,8 +212,6 @@ int GetRAbundCommand::execute(){
                                        if(sorted)      {   rabund->print(out);                         }
                                        else            {       rabund->nonSortedPrint(out);    }
 
-                                       delete rabund;
-
                                        processedLabels.insert(rabund->getLabel());
                                        userLabels.erase(rabund->getLabel());