Skip to content

fix: cap RaSP ΔΔG download to 4 segments to avoid mirror stalls#88

Open
St3451 wants to merge 1 commit into
masterfrom
fix/cap-ddg-download-concurrency
Open

fix: cap RaSP ΔΔG download to 4 segments to avoid mirror stalls#88
St3451 wants to merge 1 commit into
masterfrom
fix/cap-ddg-download-concurrency

Conversation

@St3451
Copy link
Copy Markdown
Collaborator

@St3451 St3451 commented May 22, 2026

Summary

  • oncodrive3d build-annotations was stalling indefinitely when downloading the ~8.6 GB RaSP human ΔΔG bundle from sid.erda.dk. The host throttles/drops connections when too many segments are opened in parallel, leaving pypdl reporting 0.00 MB/s, ETA: 99:59:59 until the socket-read timeout fires.
  • The download previously used min(cores, 8) segments (inherited from download_single_file), which is reliable for AlphaFold/Ensembl mirrors but too aggressive for the erda.dk share hosting RaSP.
  • This patch caps the concurrency to min(threads, 4) for the RaSP call site only — all other downloads (AlphaFold structures, BioMart, MANE summary) keep their existing behavior.

Copilot AI review requested due to automatic review settings May 22, 2026 14:24
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants