Skip to content

Commit

Permalink
Force the old LomapAtomMapper kwarg defaults on extra test (#862)
Browse files Browse the repository at this point in the history
* Force the old LomapAtomMapper kwarg defaults on extra test

* Update environment a bit
  • Loading branch information
IAlibay authored May 31, 2024
1 parent 1982d62 commit 48dcbb2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies:
- pydantic >1
- pyyaml
- coverage
- cinnabar ==0.3.0
- cinnabar ~=0.4.0
- openff-toolkit>=0.13.0
- openff-nagl-base >=0.3.3
- openff-units==0.2.0
Expand All @@ -27,6 +27,7 @@ dependencies:
- openfe-analysis>=0.2.0
- click
- typing-extensions
- openmm !=8.1.0
- openmmtools
- openmmforcefields
- perses
Expand Down
5 changes: 4 additions & 1 deletion openfe/tests/setup/atom_mapping/test_lomap_scorers.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,10 @@ def test_heterocycle_score(base, other, name, hit):
m1 = openfe.SmallMoleculeComponent.from_rdkit(r1)
m2 = openfe.SmallMoleculeComponent.from_rdkit(r2)

mapper = openfe.setup.atom_mapping.LomapAtomMapper(threed=False)
mapper = openfe.setup.atom_mapping.LomapAtomMapper(
time=20, threed=False, max3d=1000.0,
element_change=True, seed='', shift=True,
)
mapping = next(mapper.suggest_mappings(m1, m2))
score = lomap_scorers.heterocycles_score(mapping)

Expand Down

0 comments on commit 48dcbb2

Please sign in to comment.