espaloma_charge
espaloma_charge copied to clipboard
KeyError in HYBRIDIZATION_RDKIT
I get a dictionary KeyError when calling espaloma_charge -i "GPC_1RDS.mol2":
"espaloma_charge/utils.py", line 55, in fp_rdkit
HYBRIDIZATION_RDKIT[atom.GetHybridization()]
KeyError: rdkit.Chem.rdchem.HybridizationType.SP2D
It looks like SP2D is indeed not in the HYBRIDIZATION_RDKIT.
https://github.com/choderalab/espaloma_charge/blob/59c6bccb9c86e15434dfeff280e6d79845ba5c89/espaloma_charge/utils.py#L11 GPC_1RDS.zip