Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List of input smiles as input for RelativeFEPSetup #1156

Draft
wants to merge 1 commit into
base: 0.10.x
Choose a base branch
from

Conversation

ijpulidos
Copy link
Contributor

Description

This changes the RelativeFEPSetup to accept a list of smiles as input.

It does it by trying to read the input parameter as smiles using the openff.toolkit.Molecule object and if it fails with a specific exception it assumes it is then a list of path to sdf/mol2 files.

Motivation and context

Resolves #1155

How has this been tested?

Test is failing with the following error

E       AssertionError: the difference between the atoms_with_positions_reduced_potential and the sum of atoms_with_positions_reduced_potential_components is nan

../rjmc/geometry.py:493: AssertionError

I think there is some information getting mixed up or lost when we do the trip from openff.toolkit.Molecule to OEMol using the .to_openeye() method from openff.

Change log


@ijpulidos ijpulidos self-assigned this Feb 7, 2023
@mikemhenry mikemhenry changed the base branch from main to 0.10.x July 11, 2023 21:10
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.

RelativeFEPSetup cannot handle list of smiles as input ligands
1 participant