Skip to content

Commit

Permalink
Revert "fixes openfe OpenFreeEnergy#278"
Browse files Browse the repository at this point in the history
This reverts commit 812b7be.
  • Loading branch information
richardjgowers committed Apr 27, 2023
1 parent a0744ca commit 11c777e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions gufe/components/smallmoleculecomponent.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,13 +175,8 @@ def _from_sdf_supplier(cls, supp):
def to_openff(self):
"""OpenFF Toolkit representation of this molecule"""
from openff.toolkit.topology import Molecule as OFFMolecule
m = self.to_rdkit()

# see openfe #278 / openff tk #1563
Chem.Kekulize(m)
Chem.SetAromaticity(m, Chem.AromaticityModel.AROMATICITY_MDL)

m = OFFMolecule(m, allow_undefined_stereo=True)
m = OFFMolecule(self._rdkit, allow_undefined_stereo=True)
m.name = self.name

return m
Expand Down

0 comments on commit 11c777e

Please sign in to comment.