You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting some Deprecation warnings from numpy.
DeprecationWarning: Calling np.sum(generator) is deprecated, and in the future will give a different result. Use np.sum(np.fromiter(generator)) or the python sum builtin instead.
site-packages/mordred/ABCIndex.py:88:
minimal reproduction code
Base usage of calc function
from rdkit import Chem
from mordred import Chi, ABCIndex
benzene = Chem.MolFromSmiles('c1ccccc1')
# create descriptor instance
abci = ABCIndex.ABCIndex()
# calculate descriptor value
result = abci(benzene)
print(str(abci), result)
# create descriptor instance with parameter
chi_pc4 = Chi.Chi(type='path_cluster', order=4)
# calculate
result = chi_pc4(benzene)
print(str(chi_pc4), result)
environment
OS/distribution
Mac os python 3.8
conda or pip
pip
python version
Python 3.8.6
library version
mordred==1.2.0
numpy==1.19.4
The text was updated successfully, but these errors were encountered:
description
Getting some Deprecation warnings from numpy.
DeprecationWarning: Calling np.sum(generator) is deprecated, and in the future will give a different result. Use np.sum(np.fromiter(generator)) or the python sum builtin instead.
site-packages/mordred/ABCIndex.py:88:
minimal reproduction code
Base usage of calc function
environment
OS/distribution
Mac os python 3.8
conda or pip
pip
python version
Python 3.8.6
library version
mordred==1.2.0
numpy==1.19.4
The text was updated successfully, but these errors were encountered: