Open j-wags opened 3 years ago
On the plus side, both backends do seem to do the right thing for the resonance forms of amide bonds
from openff.toolkit.topology import Molecule
mol = Molecule.from_smiles('CNC(=O)C')
mol.visualize()
mol.chemical_environment_matches('[!$(*#*)&!D1:1]-&!@[!$(*#*)&!D1:2]')
mol2 = Molecule.from_smiles('C/[N+]=C(\[O-])C')
mol2.visualize()
mol.find_rotatable_bonds()
Describe the bug
This molecule is symmetric, so it should have either 0 or 8 rotatable bonds.
The toolkit (both backends) reports that it has 4.
Desired fixes
find_rotatable_bonds
docstrings which behavior should be expected with conjugated bondsComputing environment (please complete the following information):
rdkit 2021.03.1 py38hba24be9_0 conda-forge
Additional context
The initial implementation, which works quite well for most cases, is here: https://github.com/openforcefield/openff-toolkit/pull/506