Closed milesial closed 1 year ago
@weihua916
Hi! Did you see any specific molecule that fails here? I believe the possible number of chirality is limited and won't be increased in the future.
Hi, it fails for some molecules in the pcqm4mv2 SDF file you guys provide.
The number of chiralities is limited, but rdkit provides more chiralities than your featurizer, so the ones that are not in your featurizer should be mapped to 'other' (last index) IMO, in order to not crash and to not have to modify the featurizer number of features.
rdkit possible values: https://www.rdkit.org/docs/cppapi/classRDKit_1_1Atom.html#a8a82ae947ebbbc48f5ec5128f5c3e724
LGTM, thanks!
Thanks! Could you also create a new pypi release for this please?
Hi @weihua916, gentle ping on the above request for a version bump ^
Featurizer was failing with chirality
CHI_TRIGONALBIPYRAMIDAL