Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 14, 2024
1 parent dc5bd81 commit a5ca553
Show file tree
Hide file tree
Showing 3 changed files with 4,609 additions and 4,601 deletions.
21 changes: 10 additions & 11 deletions feflow/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,22 +105,19 @@ def toluene_vacuum_system(toluene):
def toluene_solvent_system(toluene, solvent_comp):
return gufe.ChemicalSystem({"ligand": toluene, "solvent": solvent_comp})


@pytest.fixture
def tyk2_lig_ejm_46_complex(tyk2_protein, tyk2_ligand_ejm_46, solvent_comp):
return gufe.ChemicalSystem({
"protein": tyk2_protein,
"ligand": tyk2_ligand_ejm_46,
"solvent": solvent_comp
})
return gufe.ChemicalSystem(
{"protein": tyk2_protein, "ligand": tyk2_ligand_ejm_46, "solvent": solvent_comp}
)


@pytest.fixture
def tyk2_lig_ejm_54_complex(tyk2_protein, tyk2_ligand_ejm_54):
return gufe.ChemicalSystem({
"protein": tyk2_protein,
"ligand": tyk2_ligand_ejm_54,
"solvent": solvent_comp
})
return gufe.ChemicalSystem(
{"protein": tyk2_protein, "ligand": tyk2_ligand_ejm_54, "solvent": solvent_comp}
)


# Settings fixtures
Expand Down Expand Up @@ -266,6 +263,8 @@ def mapping_tyk2_54_to_46(tyk2_ligand_ejm_54, tyk2_ligand_ejm_46):
from kartograf import KartografAtomMapper

atom_mapper = KartografAtomMapper()
mapping_obj = next(atom_mapper.suggest_mappings(tyk2_ligand_ejm_54, tyk2_ligand_ejm_46))
mapping_obj = next(
atom_mapper.suggest_mappings(tyk2_ligand_ejm_54, tyk2_ligand_ejm_46)
)

return mapping_obj
Loading

0 comments on commit a5ca553

Please sign in to comment.