epam / ketcher

Web-based molecule sketcher
https://lifescience.opensource.epam.com/ketcher/demo.html
Apache License 2.0
442 stars 158 forks source link

Atom Query feature export: System lost MOST "Ring bond count" values - export to Molfile #3958

Open AlexeyGirin opened 5 months ago

AlexeyGirin commented 5 months ago

Environment details (please complete the following information):

Describe the bug System lost MOST "Ring bond count" values

Steps to Reproduce

  1. Open from file: Ring bond count2.zip
  2. Save it to Molfile file format
  3. Clear canvas
  4. Load from Molfile file format

Actual behavior System losts most "Ring bond count" features image

Expected behavior System doesn't lost "Ring bond count" features image

Note problem is in v2000.js only first occurrence are set

       if (!props.get('ringBondCount')) {
          props.set('ringBondCount', sGroup.readKeyValuePairs(propertyData));
        }
AlexeyGirin commented 2 months ago

Moved to Refined Backlog since no fix over 4 versions