Created
April 19, 2021 06:42
-
-
Save greglandrum/73c488981caa83da66fd4b08b219a64a to your computer and use it in GitHub Desktop.
Github4043.ipynb
please ask rdkit-related questions on the discussions tab in the rdkit github repo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you very much for your time and effort to prepare this notebook.
I tried to do the same with "Draw.MolsToGridImage" (since I have several smiles and I would like to use smiles as legend to the image).
I tried the following code:
But, an error came up:
TypeError: MolsToGridImage() got multiple values for keyword argument 'drawOptions'
I looked at the source code of "Draw.MolsToGridImage". There is an if-condition as below:
However, I couldn't understand how to pass Draw Options to "Draw.MolsToGridImage".
Also, if I remove
UpdatedDrawingOptions.prepareMolsBeforeDrawing=False
and use "Draw.MolsToGridImage" without "drawOptions", I get another error:AtomKekulizeException: non-ring atom 4 marked aromatic
Sorry for the trouble but any help is really appreciated. Thank you.