X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=mothurout.cpp;h=de6da8c217a36a17368be48c21a7116d36a43108;hb=d4cd876bd09bfa1bcb137261700eae79f9e41fc0;hp=67c62c1bed469a387462f5decac8252971dda43e;hpb=61798fe609675abfedf511e542cc48c56a531199;p=mothur.git diff --git a/mothurout.cpp b/mothurout.cpp index 67c62c1..de6da8c 100644 --- a/mothurout.cpp +++ b/mothurout.cpp @@ -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); } } + /**************************************************************************************************/