- boolean success = false;
- try
- {
- // BH no longer necessary; we are doing 5-ms asynchronous delays all along
- // if (aresult != null)
- // {
- // try
- // {
- // // give the server a chance to breathe
- // Thread.sleep(5);
- // } catch (Exception e)
- // {
- // //
- // }
- // }
- //
- AlignmentI indres = null;
- try
- {
- indres = proxy.getSequenceRecords(accession);
- } catch (OutOfMemoryError oome)
- {
- new OOMWarning(
- "fetching " + accession + " from " + proxy.getDbName(),
- oome, this);
- }
- if (indres != null)
- {
- aresultq.add(accession);
- aresult.add(indres);
- success = true;
- }
- } catch (Exception e)