X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=flowdata.cpp;h=7d61f8c265e060f2dc0002c94f69edfd054f89ae;hp=66261e33b922f17be93e3f929582ca9ea7d9208f;hb=615301e57c25e241356a9c2380648d117709458d;hpb=a8e2df1b96a57f5f29576b08361b86a96a8eff4f diff --git a/flowdata.cpp b/flowdata.cpp index 66261e3..7d61f8c 100644 --- a/flowdata.cpp +++ b/flowdata.cpp @@ -190,6 +190,27 @@ void FlowData::capFlows(int mF){ //********************************************************************************************************************** +bool FlowData::hasGoodHomoP(){ + + try{ + + float maxIntensity = (float) maxHomoP + 0.49; + + for(int i=0;i maxIntensity){ + return 0; + } + } + return 1; + } + catch(exception& e) { + m->errorOut(e, "FlowData", "hasMinFlows"); + exit(1); + } +} + +//********************************************************************************************************************** + bool FlowData::hasMinFlows(int minFlows){ try{