Skip to content

Track the Tyk2 inputs used by the FEP setup tests - #136

Merged
David-Araripe merged 1 commit into
devfrom
test/self-contained-tyk2-fixtures
Nov 12, 2026
Merged

David-Araripe merged 1 commit into
devfrom
test/self-contained-tyk2-fixtures

Conversation

@David-Araripe

Copy link
Copy Markdown
Collaborator

What this changes

test_fep_input_files.py and test_softcore_methods.py read their Tyk2 inputs from files under tutorials/Tyk2/setupFEP/ that are not tracked (ejm_31 / ejm_45 .lib, .prm, .sdf, .pdb, and the neutralized protein). In a clean checkout both files fail with FileNotFoundError.

The inputs are now tracked in test/qligfep/resources/tyk2_ejm_31_ejm_45/:

  • ejm_31 and ejm_45 parameters, generated with the current qparams (atomic charges sum to exactly 0)
  • protein_neutralized.pdb, the protein the golden FEP setup files were generated from

Both tests and the golden-data generator in conftest.py read from that directory. Water still comes from the tracked tutorials/Tyk2/setupFEP/water.pdb. The golden files are unchanged.

Testing

In a clean checkout of this branch (only qprep built): test_fep_input_files.py and test_softcore_methods.py, 21 passed.

test_fep_input_files and test_softcore_methods read ligand parameters and a neutralized protein from untracked files under tutorials/Tyk2/setupFEP, so they failed in a clean checkout. The inputs now live in test/qligfep/resources/tyk2_ejm_31_ejm_45.
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.

1 participant