descriptastorus icon indicating copy to clipboard operation
descriptastorus copied to clipboard

Warnings upon import

Open hesther opened this issue 4 years ago • 2 comments
trafficstars

Dear descriptastorus team, Our software project Chemprop relies on descriptastorus (thanks for this great project btw) to compute a couple of descriptors for molecules. Newly installed versions of descriptastorus cause a couple of warnings when imported:

>>> import descriptastorus
WARNING:root:No normalization for BCUT2D_MWHI
WARNING:root:No normalization for BCUT2D_MWLOW
WARNING:root:No normalization for BCUT2D_CHGHI
WARNING:root:No normalization for BCUT2D_CHGLO
WARNING:root:No normalization for BCUT2D_LOGPHI
WARNING:root:No normalization for BCUT2D_LOGPLOW
WARNING:root:No normalization for BCUT2D_MRHI
WARNING:root:No normalization for BCUT2D_MRLOW

The descriptors seem to be unaffected by the warnings, however, they are always a cause of concern to our users. What causes the warning, and is there anything we can do about it? The warnings occur over different OSs and python versions (I can create a list if that is of any help). Thanks for your help!

hesther avatar Apr 28 '21 14:04 hesther

These warning are simply indicating that we don't have distributions for these new RDKit descriptors. I prefer to keep them in so know when rdkit gets updated. What I can do is move these to a descriptastorus namespace so you can turn off warnings.

In any case, the bcut descriptors are being tested now.

bp-kelley avatar Jun 25 '21 14:06 bp-kelley

I see - moving them to a descriptastorus namespace sounds very good to me (if you have the time to do so), otherwise we can simply wait on the cut descriptors being implemented, too! Thank you!

hesther avatar Jun 25 '21 15:06 hesther

Is there any update on plans to move these to a descriptastorus namespace or on the new descriptors being implemented?

kevingreenman avatar Feb 27 '23 15:02 kevingreenman

I forgot to close this issue earlier, but the logging is all done in a descriptastorus namespace now. You can find the latest version on pypi (2.6.1)

pip install descriptastorus>=2.6.1

bp-kelley avatar Jul 31 '23 00:07 bp-kelley

Also, you shouldn't see the warnings anymore.

bp-kelley avatar Jul 31 '23 00:07 bp-kelley

Great, thank you!

hesther avatar Aug 02 '23 20:08 hesther