Skip to content
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

Not displaying charges #14

Closed
sneumann opened this issue Feb 12, 2014 · 2 comments
Closed

Not displaying charges #14

sneumann opened this issue Feb 12, 2014 · 2 comments

Comments

@sneumann
Copy link
Member

Hi,
I am back to using rCDK for some stuff, and there are some display issues
in the current release. Here are some test cases, most by Emma:

library(rcdk)
m <- parse.smiles("[CH2+]")[[1]]
get.total.charge(m)
view.molecule.2d(m)

As the screenshots show, there is no + charge:

screenshot from 2014-02-12 22 42 00

rcdklibs_1.5.4 , rcdk_3.2.4

@rajarshi
Copy link
Collaborator

This is a CDK bug, so will have to wait till it's fixed there

@sneumann
Copy link
Member Author

Hi, while the above code does not work as-is (see #45 ),
via view.image.2d() I was able to confirm that charges are shown now
with rcdk-3.4.1:

m <- parse.smiles("[CH2+]")[[1]]
plot(c(0, 200), c(0, 200), type = "n", xlab = "", ylab = "")
rasterImage(view.image.2d(m), 0, 0, 200, 200)

image

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

No branches or pull requests

2 participants