]> git.donarmstrong.com Git - mothur.git/blobdiff - mothur.cpp
fixed blast code path problem
[mothur.git] / mothur.cpp
index c60644d027d7fee1f1e18ce90b5a4458c411ef3b..add60fa22f5c9a95137b651cf694dd6f27132ad7 100644 (file)
@@ -26,10 +26,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();                      }