gadsbyfly / PyBioMed

machine learning, molecular descriptor
http://pybiomed.readthedocs.io/en/latest/index.html
BSD 3-Clause "New" or "Revised" License
109 stars 61 forks source link

Error while calculating Kappa Descriptor #11

Open omkarfirame opened 4 years ago

omkarfirame commented 4 years ago

While calculating Kappa Descriptors I am facing following issue AttributeError: type object 'PeriodicTable' has no attribute 'nameTable'

gadsbyfly commented 4 years ago

These errors occur due to Rdkit package updates. You can install the early version of the Rdkit package. https://codeload.github.com/rdkit/rdkit/zip/Release_2019_03_1 You can also calculate the descriptor online. http://www.scbdd.com/chemdes/

joseias commented 4 years ago

Installing the suggested version for rdkit via conda install -c conda-forge/label/cf202003 rdkit didn't solve the issue in my case. A provisional workaround can be found in the attachment, basically:

kappa.txt

Thanks for the library, very useful.