X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=splitmatrix.cpp;h=f6b5c4d81cf5446adc5e5253808380be7ebbf28d;hp=2e8b9055eb117f02596864cd35289d92ea3a4a87;hb=d1c97b8c04bb75faca1e76ffad60b37a4d789d3d;hpb=70491a12902e89b85cfa6b44a7b7fbe066ee2ac1 diff --git a/splitmatrix.cpp b/splitmatrix.cpp index 2e8b905..f6b5c4d 100644 --- a/splitmatrix.cpp +++ b/splitmatrix.cpp @@ -182,7 +182,7 @@ int SplitMatrix::createDistanceFilesFromTax(map& seqGroup, int numG } copyGroups.clear(); - + //process each distance file for (int i = 0; i < numGroups; i++) { @@ -207,6 +207,9 @@ int SplitMatrix::createDistanceFilesFromTax(map& seqGroup, int numG else { m->mothurRemove((countfile + "." + toString(i) + ".temp")); } } + //restore old fasta file name since dist.seqs overwrites it with the temp files + m->setFastaFile(fastafile); + vector tempDistFiles; for(int i=0;ihasPath(fastafile); }