]> git.donarmstrong.com Git - mothur.git/blobdiff - mothur.cpp
got rid of extra temp files in dist.seqs
[mothur.git] / mothur.cpp
index c60644d027d7fee1f1e18ce90b5a4458c411ef3b..8d0e507a8f35bc7d9ee8664765194c546d736c1b 100644 (file)
@@ -11,8 +11,6 @@
 #include "engine.hpp"
 #include "globaldata.hpp"
 
-using namespace std;
-
 /**************************************************************************************************/
 
 GlobalData* GlobalData::_uniqueInstance = 0;
@@ -26,10 +24,10 @@ int main(int argc, char *argv[]){
                bool bail = 0;
 
                if(argc>1){
-                       mothur = new BatchEngine(argv[1]);
+                       mothur = new BatchEngine(argv[0], argv[1]);
                }
                else{
-                       mothur = new InteractEngine();          
+                       mothur = new InteractEngine(argv[0]);           
                }
 
                while(bail == 0)                {       bail = mothur->getInput();                      }