X-Git-Url: https://git.donarmstrong.com/?p=function2gene.git;a=blobdiff_plain;f=bin%2Fget_ncbi_results;fp=bin%2Fget_ncbi_results;h=e126d5f687fc984107aafcb1263986158ddd2086;hp=313ecad351f8b6eb62acb0d921402e3f9b6376cd;hb=67d86ccaa9e63139266e501f33c69cd30803f6eb;hpb=76def23cfaf543f2a55dcb2a57b40cecae71687a diff --git a/bin/get_ncbi_results b/bin/get_ncbi_results index 313ecad..e126d5f 100755 --- a/bin/get_ncbi_results +++ b/bin/get_ncbi_results @@ -161,7 +161,7 @@ while (<$terms>) { $response = $mech->content; $retry_count--; } - if ($rety_count <= 0) { + if ($retry_count <= 0) { die 'Unable to retreive ids ['.join(',',@current_ids).'] because of a remote server error'; } # For some dumb reason, they send us xml with html