-/******************************************************/
-void GlobalData::setReadFormat(string command){
- try {
- if (command == "read.dist") {
- clear();
- }else if (command == "read.otu") {
- clear();
- }else if (command == "read.shared") {
- clear();
- format = "shared";
- }else if (command == "parselist") { format = "list"; }
- }
- catch(exception& e) {
- cout << "Standard Error: " << e.what() << " has occurred in the GlobalData class Function setReadFormat. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
- exit(1);
- }
- catch(...) {
- cout << "An unknown error has occurred in the GlobalData class function setReadFormat. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
- exit(1);
- }
-}
-
-/*******************************************************/
-