Adds support to the hash code for encoding 2D and 3D cumulative double bond systems (e.g. allene and cumulene).
For the rest is look OK.
Doh, don't know how I forgot the license and module test inclusion.
In theory they can be extracted, it actually just reuses the tetrahedral encoder for M/P (even number of double bonds) and the double bond encoder encoder for E/Z (for odd number). At some point I need to extract out how the parity is calculated into the cip module. It's a lot simpler and more robust but I think that's quite a big refractor/rewrite as it should also be used in SMILES and MDL. Would also probably require a few changes to the IStereoElements. I'll try and draft out what the API could be next month.
actually... better to rebase fixup this:
Thanx for the updates. Applied and pushed.
Log in to post a comment.