]> git.donarmstrong.com Git - mothur.git/blobdiff - distancecommand.cpp
paralellized screen.seqs and added mpi code to it. fixed bug with all mpi commands...
[mothur.git] / distancecommand.cpp
index da5d0f157390cb1a70c666ac86a9ecae1221f095..ec32ffeb9e2e28b7398f78c5dd5fd858de2326a0 100644 (file)
@@ -342,6 +342,14 @@ int DistanceCommand::execute(){
                
                if (output == "square") {  convertMatrix(outputFile); }
                
+               ifstream fileHandle;
+               fileHandle.open(outputFile.c_str());
+               if(fileHandle) {
+                       gobble(fileHandle);
+                       if (fileHandle.eof()) { m->mothurOut(outputFile + " is blank. This can result if there are no distances below your cutoff.");  m->mothurOutEndLine(); }
+               }
+
+               
                #ifdef USE_MPI
                        }
                #endif