]> git.donarmstrong.com Git - mothur.git/blobdiff - splitmatrix.cpp
added distance option to summary.shared
[mothur.git] / splitmatrix.cpp
index a4e1f98581b9ce947dd53ad016dc347c71c99ffe..b7a3b49362dbd7c67f54649ba1b846a5c7cf6c79 100644 (file)
@@ -222,6 +222,7 @@ int SplitMatrix::createDistanceFilesFromTax(map<string, int>& seqGroup, int numG
                
                for(int i=0;i<numGroups;i++){
                        string tempNameFile = namefile + "." + toString(i) + ".temp";
+                       if (outputDir == "") { outputDir = m->hasPath(fastafile); }
                        string tempDistFile = outputDir + m->getRootName(m->getSimpleName((fastafile + "." + toString(i) + ".temp"))) + "dist";
 
                        //if there are valid distances