Open Arch4ngel21 opened 1 year ago
Root cause: this error happens because there is no radius N for atoms in a molecule with diameter lower than N. This function returns an environment of radius exactly N, not up to N. This is not stated anywhere in the docs, which should be fixed.
This should definitely have a better error message
This issue was marked as stale because it has been open for 90 days with no activity.
When using rdkit.Chem.rdmolops.FindAtomEnvironmentOfRadiusN with small molecules like LiF or LiCl, this function returns ValueError for atom index 0. Found it while reimplementing MAP4 fingerprint.
Code to reproduce:
Returns:
Configuration: