X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=inputdata.cpp;fp=inputdata.cpp;h=ac215ca99438fce1b19416c93942d8c5ef51c6a3;hb=dbcb14c17c128987e59147f510950f32dbeb6698;hp=08bab60dbd71f4e4c4d0b56472ccb199a026d85b;hpb=75962c819c16814e5c2340d99af1aa62e564dc20;p=mothur.git diff --git a/inputdata.cpp b/inputdata.cpp index 08bab60..ac215ca 100644 --- a/inputdata.cpp +++ b/inputdata.cpp @@ -20,12 +20,14 @@ InputData::InputData(string fName, string f) : format(f){ filename = fName; m->saveNextLabel = ""; + } /***********************************************************************/ InputData::~InputData(){ fileHandle.close(); m->saveNextLabel = ""; + } /***********************************************************************/ @@ -48,6 +50,7 @@ InputData::InputData(string fName, string orderFileName, string f) : format(f){ ofHandle.close(); m->openInputFile(fName, fileHandle); + m->saveNextLabel = ""; } catch(exception& e) { m->errorOut(e, "InputData", "InputData");