Yes they are round tripped by MDL (BondStereo.UP_OR_DOWN) for sure, however
could be a JChemPaint issue - and that's no longer actively developed.

Corner-case but are you using a JChemPaint release or built one yourself?
If you've mixed in a new version of CDK it may be tripped up with the new
Bond "Display" property.

https://github.com/cdk/cdk/blob/master/base/interfaces/src/main/java/org/openscience/cdk/interfaces/IBond.java#L137

On Wed, 1 Apr 2020 at 04:31, Shao Frankro <frankro3...@outlook.com> wrote:

> Dear all,
>     I am reading the source code of JChemPaint and writing a molecule
> editor based on CDK. I found the wavy bonds become solid bonds when I
> save them to a MDL/CML format file and reopen it in JChemPaint.
>     So I want to know if there's any file format or any way that can save
> all the informations of CDK's memory model to a file and I cound reload
> it(maybe like serialization and deserialization), If not, what is the
> easiest way to achieve this?
>
>     Thanks for your help!
>
>
> PS: I found the CDKSourceCodeWriter may save the informations of CDK's
> memory model, but I don't know how to use these codes and it also
> lose Stereo information.
> _______________________________________________
> Cdk-user mailing list
> Cdk-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cdk-user
>
_______________________________________________
Cdk-user mailing list
Cdk-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdk-user

Reply via email to