Skip to content

Commit

Permalink
E/Z stereoany now works
Browse files Browse the repository at this point in the history
  • Loading branch information
Esben Jannik Bjerrum committed May 2, 2024
1 parent cc59504 commit 14677a9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,5 @@ We also published a preprint on ChemRxiv: [https://chemrxiv.org/engage/chemrxiv/

## ISSUES

- Not possible to set undefined R/S (no wiggly bond rendered)
- Not possible to distinguish undefined and trans when editing cis/trans double bonds
- Aromaticity perception hides double-single bonds (kekulization can do likewise)
- Molecule jumping now more limited, but atom placement may not be optimal as rest og structure kept fixed (and ignored?)
2 changes: 1 addition & 1 deletion rdeditor/molEditWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ def toogleEZ(self, bond):
Chem.rdchem.BondStereo.STEREONONE,
Chem.rdchem.BondStereo.STEREOCIS,
Chem.rdchem.BondStereo.STEREOTRANS,
# Chem.rdchem.BondStereo.STEREOANY, TODO, this should be wiggly, but is not
Chem.rdchem.BondStereo.STEREOANY,
Chem.rdchem.BondStereo.STEREONONE,
]
newidx = np.argmax(np.array(stereotypes) == stereotype) + 1
Expand Down

0 comments on commit 14677a9

Please sign in to comment.