]> git.donarmstrong.com Git - mothur.git/blobdiff - globaldata.cpp
changed name of distance command to dist.seqs
[mothur.git] / globaldata.cpp
index 494b664fb841389aff6dca6305963d68a1a5a8cf..fddb5c9caadb3e2e7fcaf7f940718eacb6c39e30 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.seq") {        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.seq") {
                        if ((calc == "default") || (calc == "")) {  calc = "onegap";  }
                        Estimators.clear();
                        splitAtDash(calc, Estimators);