]> git.donarmstrong.com Git - mothur.git/blobdiff - corraxescommand.cpp
some minor changes
[mothur.git] / corraxescommand.cpp
index f47427d62c2cc7f03615149b11cbfdee5135b083..ae6ee3a92207f0ee9fe594b5208479452ed6b643 100644 (file)
@@ -860,7 +860,7 @@ int CorrAxesCommand::getMetadata(){
                vector<string> 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);