epam / epam/ketcher

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

Open
#3,958 2 comments 0 reactions 1 assignee Assigned to @captain2b View on GitHub
3.6.0-rc.1 confirmed Priority: Medium Query features regress found by autotest Test Automation affected
Dominant language
TypeScript
Stars
886
Forks
262
Avg merge
3d 19h
Merged PRs (30d)
110

Description

**Environment details (please complete the following information):**
- Indigo Toolkit Version 1.18.0-dev.2.0-g369c82f8c-x86_64-linux-gnu-11.4.0
- Ketcher Version 2.17.0-rc.2 Build at 2024-01-03; 17:17:22
- Chrome Version 120.0.6099.130 (Official Build) (64-bit)
- Win10
- Issue found while testing https://github.com/epam/Indigo/issues/1440

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

**Steps to Reproduce**
1. Open from file: [Ring bond count2.zip](https://github.com/epam/Indigo/files/13874480/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](https://github.com/epam/Indigo/assets/26869421/2d31012b-05e3-4d63-be04-289ea24c0b1b)

**Expected behavior**
System doesn't lost "Ring bond count" features
![image](https://github.com/epam/Indigo/assets/26869421/20356a9a-7d7b-40e6-8de2-477e1e5665ed)

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

```
if (!props.get('ringBondCount')) {
props.set('ringBondCount', sGroup.readKeyValuePairs(propertyData));
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.