]> git.donarmstrong.com Git - mothur.git/blobdiff - hclustercommand.cpp
final fixes for 1.7
[mothur.git] / hclustercommand.cpp
index 2ad6333bd8586b433c91e9bb56111286b8662839..38559500b0a81f25716b983b2274b88332e3ff56 100644 (file)
@@ -330,10 +330,10 @@ vector<seqDist> HClusterCommand::getSeqs(ifstream& filehandle){
                        map<string,int>::iterator itB = globaldata->nameMap->find(secondName);
                        
                        if(itA == globaldata->nameMap->end()){
-                               cerr << "AAError: Sequence '" << firstName << "' was not found in the names file, please correct\n";
+                               cerr << "AAError: Sequence '" << firstName << "' was not found in the names file, please correct\n"; exit(1);
                        }
                        if(itB == globaldata->nameMap->end()){
-                               cerr << "ABError: Sequence '" << secondName << "' was not found in the names file, please correct\n";
+                               cerr << "ABError: Sequence '" << secondName << "' was not found in the names file, please correct\n"; exit(1);
                        }
                        
                        //using cutoff