X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=inputdata.cpp;h=8b1829a3db697df21b3d0f64bf6be6cfea15c536;hp=ac215ca99438fce1b19416c93942d8c5ef51c6a3;hb=cf9987b67aa49777a4c91c2d21f96e58bf17aa82;hpb=dbcb14c17c128987e59147f510950f32dbeb6698 diff --git a/inputdata.cpp b/inputdata.cpp index ac215ca..8b1829a 100644 --- a/inputdata.cpp +++ b/inputdata.cpp @@ -19,15 +19,12 @@ InputData::InputData(string fName, string f) : format(f){ m->openInputFile(fName, fileHandle); filename = fName; m->saveNextLabel = ""; - - } /***********************************************************************/ InputData::~InputData(){ fileHandle.close(); m->saveNextLabel = ""; - } /***********************************************************************/ @@ -51,6 +48,7 @@ InputData::InputData(string fName, string orderFileName, string f) : format(f){ m->openInputFile(fName, fileHandle); m->saveNextLabel = ""; + } catch(exception& e) { m->errorOut(e, "InputData", "InputData");