]> git.donarmstrong.com Git - mothur.git/blobdiff - matrixoutputcommand.cpp
working on current change
[mothur.git] / matrixoutputcommand.cpp
index 3b5d87368914b0feb70eda6c354d5b81a4cdb071..780091027a66340b5ac94ff9480c792cba18281b 100644 (file)
@@ -157,6 +157,7 @@ MatrixOutputCommand::MatrixOutputCommand(string option)  {
                                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 if (sharedfile == "not open") { sharedfile = ""; 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 
                        outputDir = validParameter.validFile(parameters, "outputdir", false);           if (outputDir == "not found"){