X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=qstat.cpp;fp=qstat.cpp;h=60e6629b96e1c501a8f3fa2ffabde3fd14fefbb9;hb=510b1cfc25cd79391d6973ca20c5ec25fb1bb3b2;hp=ed4471a8d18b983294bd3824832d093316fe40fa;hpb=37e0d78135e32b5aa58ca163f4d416716c78b67f;p=mothur.git diff --git a/qstat.cpp b/qstat.cpp index ed4471a..60e6629 100644 --- a/qstat.cpp +++ b/qstat.cpp @@ -52,7 +52,6 @@ EstOutput QStat::getValues(SAbundVector* rank){ } double qstat = (.5*r1 + iqSum + .5*r3)/log((double)r3Ind/r1Ind); - //cout << "QStat:\nQStatistic = " << qstat << "\n\n"; data[0] = qstat; if (isnan(data[0]) || isinf(data[0])) { data[0] = 0; } @@ -60,13 +59,9 @@ EstOutput QStat::getValues(SAbundVector* rank){ return data; } catch(exception& e) { - cout << "Standard Error: " << e.what() << " has occurred in the QStat class Function getValues. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n"; + errorOut(e, "QStat", "getValues"); exit(1); } - catch(...) { - cout << "An unknown error has occurred in the QStat class function getValues. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n"; - exit(1); - } } /***********************************************************************/