]> git.donarmstrong.com Git - mothur.git/blobdiff - getgroupcommand.cpp
working on current change
[mothur.git] / getgroupcommand.cpp
index b39fb645154f97252e7d928c9862cde01553ab6b..1190f49d41036c3d3034d8555544725014ee49f0 100644 (file)
@@ -103,7 +103,7 @@ GetgroupCommand::GetgroupCommand(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