]> git.donarmstrong.com Git - mothur.git/blobdiff - collectsharedcommand.cpp
working on current change
[mothur.git] / collectsharedcommand.cpp
index d72dd7139735f16b8fcd8b02aa39058a5f4a3110..202883e201561f8851d77c5e6569df33280143c3 100644 (file)
@@ -238,7 +238,7 @@ CollectSharedCommand::CollectSharedCommand(string option)  {
                                sharedfile = m->getSharedFile(); 
                                if (sharedfile != "") { m->mothurOut("Using " + sharedfile + " as input file for the shared parameter."); m->mothurOutEndLine(); }
                                else {  m->mothurOut("You have no current sharedfile and the shared parameter is required."); m->mothurOutEndLine(); abort = true; }
-                       }
+                       }else { m->setSharedFile(sharedfile); }
                        
                        
                        //if the user changes the output directory command factory will send this info to us in the output parameter