forked from mordred-descriptor/mordred
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hi! Great idea maintaining Mordred! I wanted to let you know that, for some smiles, this line will introduce NaNs into the fingerprint raising the following error:
/home/cappelle/miniconda3/lib/python3.12/site-packages/mordred/_matrix_attributes.py:251: RuntimeWarning: invalid value encountered in scalar power
s += (eig.vec[i, eig.max] * eig.vec[j, eig.max]) ** -0.5
I encountered this error when computing fingerprints for a large number of smiles, so it is a bit hard to understand which ones were the culprit. I will report them here if I identify them, but I thought important to let you know that it can indeed happen.
Metadata
Metadata
Assignees
Labels
No labels