]> git.donarmstrong.com Git - mothur.git/blobdiff - sharedcommand.cpp
started adding chimeraslayer method and fixed minor bug in treegroupscommand deconstr...
[mothur.git] / sharedcommand.cpp
index c3f99d2704bec1fc11f0383a69f015768857aad2..2ce9bbcded2ba51409f9d130489953a3753ea438 100644 (file)
@@ -66,6 +66,9 @@ int SharedCommand::execute(){
                if (SharedList->getNumSeqs() != groupMap->getNumSeqs()) {  
                        mothurOut("Your group file contains " + toString(groupMap->getNumSeqs()) + " sequences and list file contains " + toString(SharedList->getNumSeqs()) + " sequences. Please correct."); mothurOutEndLine(); 
                        
+                       out.close();
+                       remove(filename.c_str()); //remove blank shared file you made
+                       
                        createMisMatchFile();
                        
                        //delete memory