]> git.donarmstrong.com Git - mothur.git/blobdiff - seqerrorcommand.cpp
1.23.0
[mothur.git] / seqerrorcommand.cpp
index 253e03e2a1d380cb4d13f360fc9a5fecaaeb0808..9ac7c5bcef6fee9c8e01b7838a3560f3478c5fcc 100644 (file)
@@ -213,7 +213,7 @@ SeqErrorCommand::SeqErrorCommand(string option)  {
                        //check for optional parameter and set defaults
                        // ...at some point should added some additional type checking...
                        temp = validParameter.validFile(parameters, "threshold", false);        if (temp == "not found") { temp = "1.00"; }
-                       convert(temp, threshold);  
+                       m->mothurConvert(temp, threshold);  
                        
                        temp = validParameter.validFile(parameters, "save", false);                     if (temp == "not found"){       temp = "f";                             }
                        save = m->isTrue(temp); 
@@ -242,7 +242,7 @@ SeqErrorCommand::SeqErrorCommand(string option)  {
                        
                        temp = validParameter.validFile(parameters, "processors", false);       if (temp == "not found"){       temp = m->getProcessors();      }
                        m->setProcessors(temp);
-                       convert(temp, processors); 
+                       m->mothurConvert(temp, processors); 
 
                        substitutionMatrix.resize(6);
                        for(int i=0;i<6;i++){   substitutionMatrix[i].resize(6,0);      }