X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=corraxescommand.cpp;fp=corraxescommand.cpp;h=ae6ee3a92207f0ee9fe594b5208479452ed6b643;hb=ec5c537e869028c49231dab9a37c00a9edf70723;hp=f47427d62c2cc7f03615149b11cbfdee5135b083;hpb=16c6e30b7c5a9cbe35989b2aa1d6848711a86d24;p=mothur.git diff --git a/corraxescommand.cpp b/corraxescommand.cpp index f47427d..ae6ee3a 100644 --- a/corraxescommand.cpp +++ b/corraxescommand.cpp @@ -860,7 +860,7 @@ int CorrAxesCommand::getMetadata(){ vector groupNames; ifstream in; - m->openInputFile(axesfile, in); + m->openInputFile(metadatafile, in); string headerLine = m->getline(in); m->gobble(in); istringstream iss (headerLine,istringstream::in); @@ -868,7 +868,7 @@ int CorrAxesCommand::getMetadata(){ //read the first label, because it refers to the groups string columnLabel; iss >> columnLabel; m->gobble(iss); - + //save names of columns you are reading while (!iss.eof()) { iss >> columnLabel; m->gobble(iss);