]> git.donarmstrong.com Git - mothur.git/blobdiff - rarefactsharedcommand.cpp
working on current change
[mothur.git] / rarefactsharedcommand.cpp
index fe92f97038eea51cd87a05608bad0e2525070c58..717fec2fea1fc1ba23564fc683149e38d177496e 100644 (file)
@@ -124,7 +124,7 @@ RareFactSharedCommand::RareFactSharedCommand(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