]> git.donarmstrong.com Git - mothur.git/blobdiff - npshannon.cpp
added phylo.diversity command. added hard parameter to cluster, hcluster and read...
[mothur.git] / npshannon.cpp
index 4ff26110d20ee42914d9bfb20a0b523a945f4216..f14f92276d3d2f770364dcd7c4953f1d7f3b67a4 100644 (file)
@@ -3,7 +3,7 @@
  *  Dotur
  *
  *  Created by John Westcott on 1/7/09.
- *  Copyright 2009 __MyCompanyName__. All rights reserved.
+ *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
  *
  */
 
@@ -43,13 +43,9 @@ EstOutput NPShannon::getValues(SAbundVector* rank){
                return data;
        }
        catch(exception& e) {
-               cout << "Standard Error: " << e.what() << " has occurred in the NPShannon class Function getValues. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
+               m->errorOut(e, "NPShannon", "getValues");
                exit(1);
        }
-       catch(...) {
-               cout << "An unknown error has occurred in the NPShannon class function getValues. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
-               exit(1);
-       }       
 }
 
 /***********************************************************************/