bio-nexus-api / bioai-platform

Commit History

  1. fix: use Popen + wait(timeout=N) + killpg layered kill approach

    f381b03
  2. fix: use /usr/bin/timeout OS-level command instead of Python subprocess timeout

    8329f93
  3. fix: use subprocess.DEVNULL for Vina output — eliminates ALL I/O blocking

    3aeb8d2
  4. fix: use dedicated ThreadPoolExecutor(max_workers=1) + subprocess.run(file handles, timeout=N)

    1242de8
  5. fix: use asyncio.create_subprocess_exec with file descriptors + wait_for — no threads, no pipe buffer deadlock

    6c14e2d
  6. fix: add vimontest timeout diagnostic with sleep test

    628b184
  7. fix: set deployed commit hash

    19eb8d7
  8. fix: update commit hash in vimontest

    951d3f5
  9. chore: add deployed commit hash to vimontest for debugging

    e36a2bd
  10. fix: use file handles instead of PIPE to avoid Vina pipe-buffer deadlock on Render

    88df0f4
  11. test: vimontest runs Vina with 10s timeout to diagnose hangs

    583edb0
  12. fix: use process group kill (killpg) for reliable Vina timeout

    32957ff
  13. debug: set Vina timeout to 60s for testing timeout mechanism

    01cccda
  14. fix: use subprocess.run(timeout=...) instead of asyncio subprocess for reliable Vina timeout

    ab38821
  15. fix: simplify vimontest to avoid Vina crash in request handler

    dc12ffd
  16. fix: reliable Vina timeout via asyncio subprocess + cleanup vimontest

    ab9ad46
  17. debug: check column positions in ATOM line

    c111908
  18. fix: parse CACTUS API PDB-like ATOM records instead of V2000 SDF

    80b49f1
  19. debug: show SDF and PDBQT content in vimontest

    63d6e0f
  20. debug: step-by-step vimontest with short 10s timeout

    8d27657
  21. fix: add urllib import to vimontest

    937dc91
  22. debug: realistic vimontest with real PDB and SMILES

    c212267
  23. debug: check if timeout command exists

    a246aa1
  24. fix: use Linux timeout command instead of subprocess timeout to reliably kill Vina

    083cf21
  25. debug: add /api/docking/vimontest endpoint

    7789c73
  26. fix: add subprocess timeout=600, reduce exhaustiveness to 2, modes to 3

    76cecfd
  27. fix: remove set -e from build.sh so curl failure doesn't abort build

    af25028
  28. fix: reorder _download_vina before module-level vina resolution

    8c7f69a
  29. fix: detect missing Vina binary at module level and download fallback; fail early if binary not found

    058552e
  30. fix: use asyncio.to_thread + file-based subprocess for Vina; add vina binary debug test

    d214a0c
  31. fix: use asyncio.create_subprocess_exec for Vina to prevent pipe deadlock; fix isoformat for PostgREST

    b1d8ad7

  1. feat: add progress callbacks to DockingTool.run() for real-time status tracking⁠

    8d44857
  2. fix: encode grace_cutoff with strftime to avoid + in URL query param⁠

    9aaccbe
  3. fix: migrate docking/sequencing job store from file-backed dict to Supabase⁠

    a8dee3b
  4. fix: add TORSDOF 0 after ENDROOT (rigid ligand)

    396bcf1
  5. fix: right-justify charge to col 76 with {charge:>8.3f}, ad_type:>2 at 78-79

    38de281
  6. fix: pad PDBQT to 80 cols so charge field is parseable at positions 66 or 69

    f66e99a

  1. fix: correct PDBQT column alignment (atom name, coord pos, charge field)

    cdaf04c
  2. fix: correct PDBQT column positions for atom serial number

    d29844d
  3. fix: generate PDBQT directly from SDF (Vina binary rejects PDB/SDF input)

    3a5f903
  4. fix: convert SDF to PDB in Python (avoids Vina SDF parser issues)

    640d93b
  5. fix: use NCI CACTUS /mol format instead of /sdf (Vina parses MOL better)

    c11931d
  6. fix: strip SDF data sections (Vina parser rejects >header lines)

    ecab431
  7. fix: replace obabel CLI with NCI CACTUS API for SMILES→3D (eliminates all subprocess crashes)

    b3124a2
  8. fix: use asyncio.to_thread(subprocess.run) instead of asyncio.create_subprocess_exec (Python 3.14 compat)

    05c77a7
  9. fix: use obabel CLI subprocess for SMILES→3D (lightweight, no OOM) + Vina reads PDB receptor natively (no obabel PDBQT prep)

    64e0551
  10. fix: use PDB instead of SDF for ligand (Vina SDF parser rejects RDKit tag)

    36897bb
  11. fix: eliminate obabel entirely — use RDKit for SMILES→3D + Vina PDB/SDF input (avoids OOM from obabel C++ subprocess)

    618a4e0
  12. fix: add import subprocess and use subprocess.PIPE instead of asyncio.subprocess.PIPE (Python 3.14 compat)

    6d68d15
  13. fix: revert to BackgroundTasks + async DockingTool.run (no threads, no pybel); pre-download vina in build.sh

    538a17a