Skip to content
This repository has been archived by the owner on Jul 13, 2020. It is now read-only.

03_myChEMBL_predict_targets DeprecationWarning #13

Open
mark-davies opened this issue Oct 22, 2014 · 1 comment
Open

03_myChEMBL_predict_targets DeprecationWarning #13

mark-davies opened this issue Oct 22, 2014 · 1 comment
Labels

Comments

@mark-davies
Copy link
Contributor

Following warnings thrown for each image in 03_myChEMBL_predict_targets:

/home/chembl/rdkit/rdkit/Chem/Draw/cairoCanvas.py:65: DeprecationWarning: tostring() is deprecated. Please call tobytes() instead.
imgd = image.tostring("raw","BGRA")
/usr/lib/python2.7/dist-packages/PIL/Image.py:625: DeprecationWarning: fromstring() is deprecated. Please call frombytes() instead.
warnings.warn('fromstring() is deprecated. Please call frombytes() instead.', DeprecationWarning)

Notebook still works

@mnowotka
Copy link
Contributor

Please note this warnings disappear if you evaluate the first code cell twice.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants