2 * readrabundfilecommand.cpp
5 * Created by Sarah Westcott on 1/2/09.
6 * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
10 #include "readrabundfilecommand.h"
12 //**********************************************************************************************************************
13 ReadRAbundFileCommand::ReadRAbundFileCommand(){
15 globaldata = GlobalData::getInstance();
16 filename = globaldata->inputFileName;
17 read = new ReadPhilFile(filename);
20 cout << "Standard Error: " << e.what() << " has occurred in the ReadRAbundFileCommand class Function ReadRAbundFileCommand. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
24 cout << "An unknown error has occurred in the ReadRAbundFileCommand class function ReadRAbundFileCommand. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
29 //**********************************************************************************************************************
31 ReadRAbundFileCommand::~ReadRAbundFileCommand(){
35 //**********************************************************************************************************************
37 int ReadRAbundFileCommand::execute(){
39 read->read(&*globaldata);
43 cout << "Standard Error: " << e.what() << " has occurred in the ReadRAbundFileCommand class Function execute. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
47 cout << "An unknown error has occurred in the ReadRAbundFileCommand class function execute. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
51 //**********************************************************************************************************************