Skip to content

Instantly share code, notes, and snippets.

@baoilleach
Created August 21, 2009 12:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save baoilleach/171962 to your computer and use it in GitHub Desktop.
Save baoilleach/171962 to your computer and use it in GitHub Desktop.
Generate the enol from the ketone...OBChemTsfm..not quite..
>>> t.Init("[C:2](C)(=[O:1])[CH2]", "[C:2](C)([O:1])=C")
True
Chris says:
[*:2][C:3](=[O:1])[C:4] >> [*:2][C:3]([O:1])=[C:4]
works for ketones, except t-butyl ketones are wrong.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment