Spaces:
Running
Running
Commit History
-
fix: fully sync _worker_sync — replaces asyncio.run with subprocess.run + httpx.Client to avoid Python 3.14 thread crash
890c537 -
chore: add /api/docking/debug diagnostic endpoint
88d40c6 -
fix: remove pybel bindings (causes segfault on Render), use obabel CLI subprocess only
0ed4824 -
fix: run docking worker in thread pool to keep event loop responsive + add vina download timeout
8be46a8 -
fix: move global to first line of function (Python 3.14 SyntaxError)
cb34bca -
fix: strip ROOT/BRANCH from receptor PDBQT (rigid-receptor compat)
fef08a5 -
fix: use low-level OB API with AddOption('r') for rigid receptor PDBQT
5b41dec -
fix: move global OBABEL_CMD declaration to function top (Python 3.14 SyntaxError)
f1b1916 -
fix: reduce OOM by using in-process obabel bindings + lower vina exhaustiveness
320581f
-
fix: simplify build.sh to only pip install (no risky binary downloads) + fix vina download path
- Removed set -e from build.sh — failures no longer crash the Render build - Removed vina/phyml wget/cp — handled at runtime by docking.py self-healing - Vina download target changed to tempfile.gettempdir() which is always writable - obabel installed via requirements.txt (openbabel-wheel)c9577de -
fix: obabel self-healing — openbabel-wheel in requirements, runtime pip fallback, Vina download
- openbabel-wheel in requirements.txt (default pip install on Render) - _find_obabel() searches PATH, Python bin dir, /usr/local/bin, /usr/bin - If obabel still missing at runtime, pip install openbabel-wheel on demand - If Vina missing, download binary at runtime (self-healing) - Both subprocess calls use OBABEL_CMD (fixes hardcoded obabel on SMILES line) - build.sh installs vina/phyml to Python bin dir (survives build-to-runtime)31d3bd8 -
fix: switch Render to Python buildpack with build.sh (openbabel via wheel, vina/phyml via wget)
- Replaced runtime: docker (unusable on existing Python service) with runtime: python - build.sh: pip install openbabel-wheel (provides obabel CLI), wget vina + phyml - Removed dockerfilePath (not valid for Python runtime) - render.yaml back to buildCommand + startCommand pattern3df6abc -
fix: revert backend build to pip install (build.sh/apt-get broke the Render build, taking the backend down -> 404 on all routes incl. /api/audit)
7c97dd0 -
fix: install openbabel/vina/phyml via build.sh in Python buildpack (deploy hook cannot switch runtime to docker)
f001412 -
fix: deploy backend via Docker (render.yaml runtime: docker) so openbabel/vina/phyml system binaries are installed; honor Render "
584d61f -
fix: add missing /api prefix to audit fetch URLs so rewrite proxy reaches backend router at /api/audit/event
0e2c208 -
fix: check obabel availability early with clear error message, use OBABEL_CMD variable
e86be3a -
feat: add interaction fingerprinting and 3Dmol.js viewer to molecular docking page
- Backend: H-bond, hydrophobic, pi-stacking detection with conservative cutoffs - Backend: inline ligand PDB generation per pose, stored in result - Backend: GET /api/docking/result/{job_id}/pdb endpoint - Frontend: DockingViewer (3Dmol.js) — protein cartoon + ligand stick overlay - Frontend: InteractionPanel — collapsible tables for all interaction types - Frontend: poses table now shows H/HP/π counts per posea6857c7 -
fix: remove orphaned context = { line causing SyntaxError in deploy
cab1006 -
feat: add query coverage, organism, and query accession to BLAST results
cee7881 -
fix: stabilize useAuditTrail return reference with useMemo, remove setLoading(true) from effect re-fetches
0f75b47 -
fix: robust Foldseek parsing, add logging, handle missing results key and variant target formats
Changes to _foldseek_search in structure_analysis.py: - Add logging throughout the Foldseek flow to help diagnose production issues - Handle case where Foldseek response lacks 'results' key (fallback to queries) - Add type validation for db_entry, alignments, and alignment entries - Extract PDB ID parsing and chain parsing into separate helper functions - Add fallback regex for PDB ID extraction (\b4-char-word-boundary) - Clean up: move re import to top of file, add logging importd35f0c4
-
fix: remove opacity:0 flicker from all pages
Root cause: fadeUp variant in animations.ts sets hidden: opacity:0, making all motion.div content invisible during the 500ms entrance animation. Fix: changed initial=hidden to initial={{ y:24 }} on all fadeUp content containers, and removed initial=hidden from stagger parents so children don't inherit opacity:0. This keeps the subtle slide-up while eliminating the content flicker on navigation and reload. Affects 22 files across analyze/*, dashboard, history, jobs, settings, learn, shared/[token], auth, landing page, and shared components.150c960 -
fix: prevent opacity flicker on job results page, add pathway_enrichment migration
3cc87a8
-
fix: handle NCBI UNKNOWN status and add pathway_enrichment to frontend status order
6547179 -
feat: add DNA sequence output across BLAST, UniProt, sequencing, primers, and SequenceRetrieval
00b6857 -
fix: resolve Vercel build errors (handleFind, SAMPLE_DNA, Set iteration)
95d0dc3 -
feat: add Translate CDS tool to /analyze/tools page
ea2ceb7 -
feat: implement 8 tool bridges (F1-F8) + audit child components
5561093 -
fix: prevent page scroll when zooming phylo tree (non-passive wheel listener)
df44fea -
feat: interactive phylo tree — pan/zoom, hover highlight, collapse/expand, node selection
2dbb681 -
feat: improve phylo tree viz — branch length labels, bigger nodes, hub labels, tooltips, ML recommendation
e8b8539 -
feat: instrument 7 tool pages with usage audit trail
b3c481f -
feat: 4-layer audit/observability system
- Layer 1: useAuditTrail hook emits structured events fire-and-forget - Layer 2: audit_events + audit_insights tables in Supabase - Layer 3: Groq LLM-powered audit engine analyzes session event sequences - Layer 4: AuditInsightPanel floating widget with severity coloring - Instrumented BLAST page as first instrumented tool; others ready for same pattern6a2c89b
-
fix: replace dead lambda reference FTP URL with NCBI E-utilities
d10fc77 -
fix: resolve 10 bugs in sequencing/docking pipelines
- Bug 1: Accept 'synthetic'/'demo'/'test' in fastq_url validation - Bug 2: Download minimap2 to app/bin/ instead of /usr/local/bin/ - Bug 3: Persist _jobs to JSON file to survive HF Space cold starts - Bug 4: Cache reference genomes in app/data/references/ - Bug 5: Track fastq_source correctly (was always returning 'url') - Bug 6: Wire PIPELINE_TIMEOUT via asyncio.wait_for in _worker - Bug 7: Stream FASTQ download, check content-length before body - Bug 8: Exempt status endpoints from global 30/min rate limit - Bug 9: Prune stale _jobs entries (TTL=2h, max=200) - Bug 10: Log in-memory job count lost on startup01cadbb -
Fix pipeline stuck issue: synthetic FASTQ fallback and demo mode
e816a43 -
Move minimap2 download to runtime (avoids build failures on HF cpu-basic)
0be08e1
-
Fix sequencing dropdown: hardcoded defaults so dropdown works before backend deploys
3c3bea2 -
Phase 3: Sequencing pipeline (FASTQ -> QC -> alignment -> variant calling -> report)
- Backend: tools/sequencing.py -- SequencingPipeline with Python QC, minimap2 alignment, SAM-based variant calling, summary report - Backend: routers/sequencing.py -- /api/sequencing/run + status + references endpoints - Backend: Dockerfile -- added minimap2 v2.28 static binary - Frontend: analyze/sequencing/page.tsx -- full UI with pipeline progress, QC metrics, alignment rate, variant table - Frontend: analyze/page.tsx -- 'Sequencing Pipeline' card with 'New' badge - Frontend: lib/api.ts -- sequencing types and API functions1cb972c -
fix: load .env.deploy explicitly in config.py
2224ea2 -
fix: replace iframe structure viewer with PDBe Molstar web component
- Add pdbe-molstar CSS + JS CDN scripts to root layout.tsx - Create StructureViewer.tsx React component wrapping <pdbe-molstar> - Replace iframes in structure/page.tsx and docking/page.tsx - No more CORS/embedding issues — web component runs in-pageb2360b8 -
fix: replace broken PDBe embed URL with Mol* viewer (molstar.org)
1819825 -
fix: correct AutoDock Vina URL in Dockerfile (ccsb-scripps/AutoDock-Vina v1.2.7)
348f224 -
feat: molecular docking (AutoDock Vina) + docs site + Sentry + cache stats + Phase 2 docs update
- Molecular docking tool via AutoDock Vina (free, CPU-based, local binary) - Dockerfile: openbabel apt install + vina binary from GitHub releases - Backend: DockingTool (PDB fetch, obabel PDBQT conversion, vina subprocess, pose parser) - Backend: POST /api/docking/run + GET /api/docking/status/{job_id} - Frontend: analyze/docking/page.tsx — PDB ID + SMILES input, auto-detect binding pocket, results table with affinity color-coding, PDBe structure viewer - Frontend: docking card with 'New' badge added to analyze/page.tsx - Documentation site: /learn pages (10 topics + glossary), LearnPopover inline help, TutorialWalkthrough onboarding modal - Sentry error monitoring: sentry.client.config.ts, sentry.server.config.ts, next.config.js withSentryConfig, backend sentry_sdk init in main.py - Cache stats tracking: _cache_stats counters, from_cache flag, /api/admin/cache-stats endpoint, @ttl_cache on ncbi_service.search_by_name and pathway_enrichment - All .md docs (MASTER_PL…fb8c550
-
fix: replace dead embed.rcsb.org iframe with PDBe Mol* viewer
7d2b5e1 -
feat: complete Phase 2 — API keys, share links, export, pipeline steps, guest upgrade
305458b -
refactor: enhance dashboard with quick tools, jobs with filter tabs, settings with profile identity
32dd681 -
feat: download pre-compiled PhyML binary from bioconda instead of source build
aad6f8e -
fix: use valid EBI email (example.com), remove PhyML build from Docker
87fe374