-
Notifications
You must be signed in to change notification settings - Fork 845
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot pass drawOptions to MolsToGridImage when using notebook #3101
Comments
Hello, I also have the same problem now. Do you figure this out? |
Unfortunately not. I don't know a solution. |
have you found a solution? |
From an answer to someone else today. Sorry about the formatting.
dopts = rdMolDraw2D.MolDrawOptions()
dopts.prepareMolsForDrawing = True
results = Draw.MolsToGridImage(
self.hits[:k + 1], molsPerRow=2, subImgSize=(600, 600),
legends=[x.GetProp("_Name")
for x in self.hits[:k]],
drawOptions=dopts)
On Thu, 6 May 2021 at 20:56, fakepasta ***@***.***> wrote:
have you found a solution?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3101 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACGF2FQ65Q2BWWIZCVFKZHLTMLX6VANCNFSM4MMWHAGA>
.
--
David Cosgrove
Freelance computational chemistry and chemoinformatics developer
http://cozchemix.co.uk
|
If I try
I get the error
What am I doing wrong? |
@dww100 That looks like a bug. If you apply the following patch to your
|
Thanks @ptosco that works perfectly |
ptosco
pushed a commit
to ptosco/rdkit
that referenced
this issue
Aug 19, 2021
Merged
ptosco
pushed a commit
to ptosco/rdkit
that referenced
this issue
Aug 19, 2021
greglandrum
changed the title
How to pass drawingOptions to MolsToGridImage?
cannot pass drawOptions to MolsToGridImage when using notebook
Aug 20, 2021
greglandrum
pushed a commit
that referenced
this issue
Aug 20, 2021
greglandrum
pushed a commit
that referenced
this issue
Aug 24, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Configuration:
Description:
Based on #1854 and #2691, I believe it should be possible to pass
drawingOptions
toMolsToGridImage
. I can't find documentation showing how these options can be passed askwargs
.The text was updated successfully, but these errors were encountered: