]> git.donarmstrong.com Git - mothur.git/blobdiff - mothurout.cpp
added cluster.classic command
[mothur.git] / mothurout.cpp
index 67c62c1bed469a387462f5decac8252971dda43e..de6da8c217a36a17368be48c21a7116d36a43108 100644 (file)
@@ -60,6 +60,16 @@ void MothurOut::setDefaultPath(string pathname)  {
        }
 }
 /*********************************************************************************************/
+void MothurOut::setOutputDir(string pathname)  {
+       try {
+               outputDir = pathname;
+       }
+       catch(exception& e) {
+               errorOut(e, "MothurOut", "setOutputDir");
+               exit(1);
+       }
+}
+/*********************************************************************************************/
 void MothurOut::closeLog()  {
        try {
                
@@ -1553,6 +1563,7 @@ bool MothurOut::checkReleaseVersion(ifstream& file, string version) {
                exit(1);
        }
 }
+
 /**************************************************************************************************/