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

System Generator for Espaloma #352

Open
chabi-fin opened this issue Nov 12, 2024 · 2 comments
Open

System Generator for Espaloma #352

chabi-fin opened this issue Nov 12, 2024 · 2 comments

Comments

@chabi-fin
Copy link

I have espaloma installed, but I haven't been able to use it as an option for small_molecule_forcefield in a SystemGenerator.
for,
system_generator = SystemGenerator( forcefields=[ "amber/ff14SB.xml", "amber/tip3p_standard.xml", ], small_molecule_forcefield='espaloma-0.3.2', forcefield_kwargs=forcefield_kwargs, cache="db.json", )
I get the error:
Source 'espaloma-0.3.2' could not be read. If this is a file, ensure that the path is correct. Looked in the following paths and found no files named 'espaloma-0.3.2': /home/lf1071fu/project_ip6/data/inputs/sire_test /home/lf1071fu/miniforge3/envs/espaloma/lib/python3.11/site-packages/openff/amber_ff_ports/offxml /home/lf1071fu/miniforge3/envs/espaloma/lib/python3.11/site-packages/openforcefields/offxml /home/lf1071fu/miniforge3/envs/espaloma/lib/python3.11/site-packages/smirnoff99frosst/offxml If 'espaloma-0.3.2' is present as a file, ensure it is in a known SMIRNOFF encoding. Valid formats are: ['XML'] Parsing failed while trying to parse source as a file with the following exception and message: <class 'openff.toolkit.utils.exceptions.SMIRNOFFParseError'> syntax error: line 1, column 0
If I use the option small_molecule_forcefield='openff-1.2.0' there is no error.

@mattwthompson
Copy link
Collaborator

mattwthompson commented Nov 12, 2024

@mattwthompson
Copy link
Collaborator

Otherwise something is wrong with your installation

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

No branches or pull requests

2 participants