X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=clustersplitcommand.cpp;h=87d26cea75033c911d4db315265123fdd3dd49de;hb=567e4bca5d62bd8ea316ce5def320d070d7507b8;hp=6d3c86ff1fa2efb62d46618f372706fd117c002a;hpb=3504e4e2feeb05aabb0c79aa42cb696522030924;p=mothur.git diff --git a/clustersplitcommand.cpp b/clustersplitcommand.cpp index 6d3c86f..87d26ce 100644 --- a/clustersplitcommand.cpp +++ b/clustersplitcommand.cpp @@ -439,6 +439,8 @@ int ClusterSplitCommand::execute(){ vector< map > distName = split->getDistanceFiles(); //returns map of distance files -> namefile sorted by distance file size delete split; + if (m->debug) { m->mothurOut("[DEBUG]: distName.size() = " + toString(distName.size()) + ".\n"); } + //output a merged distance file if (splitmethod == "fasta") { createMergedDistanceFile(distName); } @@ -447,11 +449,9 @@ int ClusterSplitCommand::execute(){ m->mothurOut("It took " + toString(time(NULL) - estart) + " seconds to split the distance file."); m->mothurOutEndLine(); estart = time(NULL); - + if (!runCluster) { -#ifdef USE_MPI - } -#endif + m->mothurOutEndLine(); m->mothurOut("Output File Names: "); m->mothurOutEndLine(); for (int i = 0; i < distName.size(); i++) { m->mothurOut(distName[i].begin()->first); m->mothurOutEndLine(); m->mothurOut(distName[i].begin()->second); m->mothurOutEndLine(); } @@ -459,7 +459,7 @@ int ClusterSplitCommand::execute(){ return 0; } - + //****************** break up files between processes and cluster each file set ******************************// #ifdef USE_MPI ////you are process 0 from above////