Closed greglandrum closed 2 years ago
It looks like this error happens if some atoms in the molecule have NaN coordinates. There are other parts of coordgen that can recover from NaN coordinates on atoms, but apparently not here.
I think a local solution in this function is reasonable.
wait - did you get real coordinates out of coordgen for this molecule?
wait - did you get real coordinates out of coordgen for this molecule?
heh, no. I didn't check the coords, just that things weren't seg faulting. Should I go ahead and file an issue that coordgen generates all NaNs for this molecule ?
yeah, that would be great
This fixes the problem on the RDKit side and doesn't break
test_coordgen
for me.