Skip to content

wedge bonds not visible #403

Answered by ptosco
shyamramesh asked this question in Q&A
Oct 27, 2023 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

That wedge bond should not be there since there is no chiral center, hence by default RDKit removes it.
You may restore the wedging specified in your V3000 molblock by passing useMolBlockWedging to get_svg_with_highlights():

const mol = rdkitModule.get_mol(`
     RDKit          2D

  0  0  0  0  0  0  0  0  0  0999 V3000
M  V30 BEGIN CTAB
M  V30 COUNTS 6 6 0 0 0
M  V30 BEGIN ATOM
M  V30 1 C 1.500000 0.000000 0.000000 0
M  V30 2 C 0.750000 -1.299000 0.000000 0
M  V30 3 C -0.750000 -1.299000 0.000000 0
M  V30 4 C -1.500000 0.000000 0.000000 0
M  V30 5 C -0.750000 1.299000 0.000000 0
M  V30 6 C 0.750000 1.299000 0.000000 0
M  V30 END ATOM
M  V30 BEGIN BOND
M  V30 1 1 1 2
M  V30 2 1 2 3
M  V3…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@ptosco
Comment options

Answer selected by shyamramesh
@shyamramesh
Comment options

Comment options

You must be logged in to vote
1 reply
@Acylation
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants