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)
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