Skip to content

Fix OpenFF option in small_molecule_parameterizer - #512

Merged
RagnarB83 merged 1 commit into
RagnarB83:masterfrom
JamesOBrien2:fix-openff-forcefield-arg
Aug 6, 2026
Merged

Fix OpenFF option in small_molecule_parameterizer#512
RagnarB83 merged 1 commit into
RagnarB83:masterfrom
JamesOBrien2:fix-openff-forcefield-arg

Conversation

@JamesOBrien2

Copy link
Copy Markdown
Contributor

The openff_file argument was never passed to SMIRNOFFTemplateGenerator, so forcefield_option="OpenFF" crashed with "A SMIRNOFF force field name, path, file object, or XML string must be provided". This passes it through, like the GAFF branch does with gaffversion. Tested on isobutyraldehyde.

@RagnarB83

Copy link
Copy Markdown
Owner

Thanks for spotting !

@RagnarB83
RagnarB83 merged commit 9f6fefc into RagnarB83:master Aug 6, 2026
1 check passed
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.

2 participants