I’m running through the DeepChem colab tutorial for 2.2.Going Deeper On Molecular Featurizations, and encountered the following error:
AttributeError Traceback (most recent call last)
in <cell line: 3>()
1 rdkit_featurizer = dc.feat.RDKitDescriptors()
2 features = rdkit_featurizer([‘CCC’])[0]
----> 3 for feature, descriptor in zip(features[:10], rdkit_featurizer.descriptors):
4 print(descriptor, feature)
I tried from rdkit.Chem import Descriptors as recommended on other posts, but that did not work. How do I resolve this?
Thanks in advance!
rdkit_featurizer = dc.feat.RDKitDescriptors()
features = rdkit_featurizer([‘CCC’])[0]
for feature, descriptor in zip(features[:10], rdkit_featurizer.descriptors):
print(descriptor, feature)
#The above code in tutorial ( Going Deeper On Molecular Featurizations) shows the following error
AttributeError Traceback (most recent call last)
in <cell line: 3>()
1 rdkit_featurizer = dc.feat.RDKitDescriptors()
2 features = rdkit_featurizer([‘CCC’])[0]
----> 3 for feature, descriptor in zip(features[:10], rdkit_featurizer.descriptors):
4 print(descriptor, feature)
AttributeError: ‘RDKitDescriptors’ object has no attribute ‘descriptors’