]> git.donarmstrong.com Git - mothur.git/blobdiff - mothur.h
added groups option to get.oturep command
[mothur.git] / mothur.h
index c3f61b4268b613da53a567f0fa6239983a19311e..2404a84f08672c2178bd3e0a33946124348a72a7 100644 (file)
--- a/mothur.h
+++ b/mothur.h
@@ -828,7 +828,13 @@ inline bool anyLabelsToProcess(string label, set<string>& userLabels, string err
                
                //unique is the smallest line
                if (label == "unique") {  return false;  }
-               else { convert(label, labelFloat); }
+               else { 
+                       if (convertTestFloat(label, labelFloat)) {
+                               convert(label, labelFloat); 
+                       }else { //cant convert 
+                               return false;
+                       }
+               }
                
                //go through users set and make them floats
                for(it = userLabels.begin(); it != userLabels.end(); ++it) {