]> git.donarmstrong.com Git - mothur.git/blobdiff - summarysharedcommand.cpp
working on current change
[mothur.git] / summarysharedcommand.cpp
index cc1a374ba96496a96a17bd4626f689b25ea1ed7f..b3b4b1869f4368c3c7555d5a711e95acb54c9283 100644 (file)
@@ -161,7 +161,7 @@ SummarySharedCommand::SummarySharedCommand(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