]> git.donarmstrong.com Git - mothur.git/blobdiff - globaldata.cpp
fixed memory leak in rarefact
[mothur.git] / globaldata.cpp
index 494b664fb841389aff6dca6305963d68a1a5a8cf..4dfcbc1cf7129a6a9044b74f3ffb76671a0fd059 100644 (file)
@@ -43,7 +43,7 @@ void GlobalData::parseGlobalData(string commandString, string optionText){
                }
                
                //set default value for cutoff
-               if (commandName == "distance") {        cutoff = "1.0";         }
+               if (commandName == "dist.seqs") {       cutoff = "1.0";         }
 
                string key, value;              
                //reads in parameters and values
@@ -215,7 +215,7 @@ void GlobalData::parseGlobalData(string commandString, string optionText){
                        Estimators.clear();
                        splitAtDash(calc, Estimators); 
                }
-               if (commandName == "distance") {
+               if (commandName == "dist.seqs") {
                        if ((calc == "default") || (calc == "")) {  calc = "onegap";  }
                        Estimators.clear();
                        splitAtDash(calc, Estimators);