Skip to content

Commit

Permalink
Fix for extracting substructure vocabulary
Browse files Browse the repository at this point in the history
  • Loading branch information
rl27 authored Jun 20, 2022
1 parent e396dba commit 2acc395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hgraph/chemutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def set_atommap(mol, num=0):

def get_mol(smiles):
mol = Chem.MolFromSmiles(smiles)
if mol is not None: Chem.Kekulize(mol)
if mol is not None: Chem.Kekulize(mol, clearAromaticFlags=True)
return mol

def get_smiles(mol):
Expand Down

0 comments on commit 2acc395

Please sign in to comment.