]> git.donarmstrong.com Git - mothur.git/blobdiff - splitmatrix.cpp
1.19.0
[mothur.git] / splitmatrix.cpp
index 80f311dc61cbd8d52342ee55d39c2284b161761d..8ccb867e250aed20816be57d779d6105316109f9 100644 (file)
@@ -186,6 +186,7 @@ int SplitMatrix::createDistanceFilesFromTax(map<string, int>& seqGroup, int numG
                for (int i = 0; i < numGroups; i++) { 
                        
                        string options = "fasta=" + (fastafile + "." + toString(i) + ".temp") + ", processors=" + toString(processors) + ", cutoff=" + toString(distCutoff);
+                       if (outputDir != "") { options += ", outputdir=" + outputDir; }
                        
                        Command* command = new DistanceCommand(options);