-
Notifications
You must be signed in to change notification settings - Fork 81
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
Bond orders for atomatic systems in OpenFF #359
Comments
Hi @awvwgk, TL;DR The Detailed description OpenFF molecules are inherently a "cheminformatics graph" representation. That is, they are graphs first and foremost (atoms have elements, formal charge, and possibly stereo, and bonds have order and possibly stereo), and secondarily there may be coordinates attached. In cases where an OpenFF Molecule is being created from another representation, we need to be able to unambiguously map that representation into a chemical graph with the information content above. There are two kinda-coupled problems in this workflow. In decreasing order of fundamental-ness:
To get this workflow working: If the full "cheminformatics graph" representation of the molecule is available, it's possible to set the input's from openff.toolkit.topology import Molecule
benzene = Molecule.from_file('benzene.mol')
print(benzene.to_qcschema().json()) yields
|
Describe the bug
Running the
openff
harness with fractional bond orders to indicate aromaticity yields the following error message:To Reproduce
JSON input and output provided by @benbaed
input.json
error.json
Expected behavior
Allow specification of fractional bond orders for aromaticity with OpenFF.
Additional context
cc @mattwthompson, @j-wags, @dotsdl
The text was updated successfully, but these errors were encountered: