erikrikarddaniel / pfitmap

1 stars 0 forks source link

BiosqlWeb call fails, debug and fix #70

Closed binnisb closed 11 years ago

binnisb commented 11 years ago

In model pfitmap_release, function calculate_main, function second_run we were getting timeouts on calls to BiosqlWeb gi2ncbi_taxon_id. Fixed now with begin & rescue where we sleep for 10 seconds and try the call again.

We should figure out what is causing timeout.

Or redesign the call so we send all gi values and get all ncbi_taxon_ids back. So one call instead of thousands.

binnisb commented 11 years ago

Will be fixed by new load database and sequence database design