Repository navigation
feat(drug-discovery): Ligand list file for >100 ligands across tools; Admet batch_size - #653
Merged
Merged
Conversation
…batch_size Admet, Metabolism, Docking and SecondaryPharmacology now build ligand inputs through ligand_list_file.py: inline up to INLINE_LIGAND_CAP (100), else upload a Ligand list file and send ligands_file (+ ligands_count where the tool takes it). from_dto rehydrates either form. ADMET_/METABOLISM_ caps merge into INLINE_LIGAND_CAP. SecondaryPharmacology ligand-ml above the cap now syncs ligands first: preflight requires id on every file row (validate_secondary_pharma.py). Admet(batch_size=...) sends batchSize (ligands per workflow pod, min 50) on file and project runs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… example Docking._build_tool_inputs now uploads a Ligand list file above the inline cap; SecondaryPharmacology._ligands_from_inputs downloads ligands_file. The Admet bulk example passes batch_size explicitly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ASinanSaglam
marked this pull request as ready for review
October 5, 2026 19:36
sg-s
approved these changes
Oct 5, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
src/drug_discovery/ligand_list_file.py: one inline-vs-file path for Admet, Metabolism, Docking, SecondaryPharmacology (>100 ligands → UFA Ligand list file +ligands_file/ligands_count);from_dtorehydrates both.id, which preflight rejects; now syncs above the cap.Admet(batch_size=...): setsbatchSize(ligands per pod, min 50) on file/project runs.Test plan
uv run pytest tests --env local -p no:xdist: 1643 passed, 1 failed (test_pairwise_pose_rmsd_lv0, fails on main too)test_secondary_pharma_make_inputs_ligand_ml_above_cap_uses_synced_file,test_admet_batch_size_sent_on_workflow_paths_onlybatch_size=50→ 3 chunk pods🤖 Generated with Claude Code