X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=mothur.h;h=2404a84f08672c2178bd3e0a33946124348a72a7;hb=a8367302932de9be5434e77f6e5829d7609e2aec;hp=c3f61b4268b613da53a567f0fa6239983a19311e;hpb=0c78e45408d8c099bc51579225ebfc227f7523b2;p=mothur.git diff --git a/mothur.h b/mothur.h index c3f61b4..2404a84 100644 --- a/mothur.h +++ b/mothur.h @@ -828,7 +828,13 @@ inline bool anyLabelsToProcess(string label, set& 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) {