]> git.donarmstrong.com Git - mothur.git/blobdiff - readcolumn.cpp
fixed some bugs and added mgcluster command
[mothur.git] / readcolumn.cpp
index fccc2cd06f8b045e48e4516229fc58d4ebe3e30d..6b8892b6eb1068563e8cf69e30b0274e07e0b15a 100644 (file)
@@ -45,10 +45,10 @@ void ReadColumnMatrix::read(NameAssignment* nameMap){
                        map<string,int>::iterator itB = nameMap->find(secondName);\r
                        \r
                        if(itA == nameMap->end()){\r
-                               cerr << "AAError: Sequence '" << firstName << "' was not found in the names file, please correct\n";\r
+                               cerr << "AAError: Sequence '" << firstName << "' was not found in the names file, please correct\n"; exit(1);\r
                        }\r
                        if(itB == nameMap->end()){\r
-                               cerr << "ABError: Sequence '" << secondName << "' was not found in the names file, please correct\n";\r
+                               cerr << "ABError: Sequence '" << secondName << "' was not found in the names file, please correct\n"; exit(1);\r
                        }\r
 \r
                        if (distance == -1) { distance = 1000000; }\r