X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=heatmapsimcommand.cpp;h=dd8fa4c7ecf647f4cc3ab9b8657cb7c3f019d1ac;hp=0ba5ef1f28261307e91d678a73b4993ff38fa0ec;hb=5cc45e630ccee2c3503e1bfe7e9b3524898cef8a;hpb=10c8178dc5e3f96ef8e92a986f1eddd13e622173 diff --git a/heatmapsimcommand.cpp b/heatmapsimcommand.cpp index 0ba5ef1..dd8fa4c 100644 --- a/heatmapsimcommand.cpp +++ b/heatmapsimcommand.cpp @@ -512,8 +512,8 @@ int HeatMapSimCommand::runCommandDist() { map::iterator itA = nameMap->find(first); map::iterator itB = nameMap->find(second); - if(itA == nameMap->end()){ cerr << "AAError: Sequence '" << first << "' was not found in the names file, please correct\n"; exit(1); } - if(itB == nameMap->end()){ cerr << "ABError: Sequence '" << second << "' was not found in the names file, please correct\n"; exit(1); } + if(itA == nameMap->end()){ m->mothurOut("AAError: Sequence '" + first + "' was not found in the names file, please correct\n"); exit(1); } + if(itB == nameMap->end()){ m->mothurOut("ABError: Sequence '" + second + "' was not found in the names file, please correct\n"); exit(1); } //save distance matrix[itA->second][itB->second] = dist;