Skip to content

Reading in wavy bonds from V3K mol blocks #7383

Closed Answered by pechersky
pechersky asked this question in General
Discussion options

You must be logged in to vote

Thanks for the insights, I was also able understand how to do this based on looking at some testChirality tests and reading this discussion

        Chem.ReapplyMolBlockWedging(mol)
        [...]
        cross_bond.SetStereo(Chem.rdchem.BondStereo.STEREONONE)
        cross_bond.SetBondDir(Chem.rdchem.BondDir.NONE)
        wavy_bond.SetBondDir(Chem.rdchem.BondDir.NONE)
        # if we don't clear this, then rdkit's `Chirality::updateDoubleBondNeighbors`
        # will no-op since in addition to the regular API values,
        # it checks this set property
        wavy_bond.ClearProp("_UnknownStereo")
        # without providing the `GetConformer`, the set neighbor directions relies
        …

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by pechersky
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants