]> git.donarmstrong.com Git - mothur.git/blobdiff - splitmatrix.cpp
paralellized seq.error and dist.shared added some error checks to libshuff and dist...
[mothur.git] / splitmatrix.cpp
index 1f23ec3aa48202d6516208d643c09b6928da6f47..8ccb867e250aed20816be57d779d6105316109f9 100644 (file)
@@ -66,6 +66,8 @@ int SplitMatrix::splitDistance(){
         
                if (large)      { splitDistanceLarge(); }
                else            { splitDistanceRAM();   }
+               
+               return 0;
                        
        }
        catch(exception& e) {
@@ -184,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);