Skip to content

Substituents are displayed backwards if appearing on the left of the molecule #2748

@jblack-mestre

Description

@jblack-mestre

Summary
If there is a sgroup that contains more than one atom or substituent, that appears on the left of a molecule, it is displayed so the last atom/substituent is connected to the molecule. This sgroup should be mirrored so that the first atom/substituent of the group is connected to the molecule

Steps to Reproduce

  1. indigo-depict backwards_substituents.cml backwards_substituents.svg

Actual behavior
The substituents are displayed backwards when appearing on the left (on the right they are displayed correctly)
Image

Expected behavior
The substituents should appear mirrored, like in chemdraw
Image

Environment details:

Attachments
backwards_substituents.cml.txt

Additional context
When rendering the molecule, the sgroup should be reversed if it appears on the left

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions