]> git.donarmstrong.com Git - mothur.git/blobdiff - mothurout.h
modifications to commands to add headers to list file.
[mothur.git] / mothurout.h
index 363a7a88041ac97bfd207558fc4fa445af7d442b..1caa1fe5814679a86e8026f1ec7a54d228dee44e 100644 (file)
@@ -66,11 +66,9 @@ class MothurOut {
        
                vector<string> getAllGroups() { sort(namesOfGroups.begin(), namesOfGroups.end()); return namesOfGroups; }
                vector<string> Treenames;
-               //map<string, string> names;
                vector<string> sharedBinLabelsInFile;
                vector<string> currentSharedBinLabels;
         vector<string> listBinLabelsInFile;
-        //vector<string> currentListBinLabels;
                string saveNextLabel, argv, sharedHeaderMode, groupMode;
                bool printedSharedHeaders, printedListHeaders, commandInputsConvertError, changedSeqNames, modifyNames;
                
@@ -99,7 +97,9 @@ class MothurOut {
                int openOutputFileAppend(string, ofstream&);
         int openOutputFileBinaryAppend(string, ofstream&);
                int openInputFile(string, ifstream&);
-               int openInputFile(string, ifstream&, string); //no error given 
+               int openInputFile(string, ifstream&, string); //no error given
+    
+        bool checkLocations(string&, string);  //filename, inputDir. checks for file in ./, inputdir, default and mothur's exe location.  Returns false if cant be found. If found completes name with location
                string getline(ifstream&);
                string getline(istringstream&);
                void gobble(istream&);