Skip to content

Commit 16f9208

Browse files
#1777 Some bonds don't display correctly in ChemDraw when opening a saved Ketcher CDX file. (#1865)
1 parent 033b20e commit 16f9208

File tree

10 files changed

+2039
-38
lines changed

10 files changed

+2039
-38
lines changed

api/tests/integration/ref/formats/cdx_export.py.out

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ two_bn:success
88
*** KET to CDX ***
99
issue_1774:success
1010
issue_1775:success
11+
molecule json loader: 'any' bonds are allowed only for queries
12+
*** Try as Query ***
13+
CDXML loader: Queries not supported
14+
issue_1777:success
1115
agents:success
1216
*** CDXML to CDX ***
1317
AlcoholOxidation_Rxn1:success

api/tests/integration/ref/formats/mol_to_cdxml.py.out

+8-8
Original file line numberDiff line numberDiff line change
@@ -374,10 +374,10 @@ stereo_either-0020.mol
374374
<b id="52" B="17" E="18"/>
375375
<b id="53" B="17" E="19"/>
376376
<b id="54" B="17" E="20"/>
377-
<b id="55" B="16" E="21" Order="2"/>
378-
<b id="56" B="21" E="22"/>
379-
<b id="57" B="22" E="23" Order="2"/>
380-
<b id="58" B="23" E="24"/>
377+
<b id="55" B="16" E="21" Order="2" Display="Wavy"/>
378+
<b id="56" B="21" E="22" Display="Wavy"/>
379+
<b id="57" B="22" E="23" Order="2" Display="Wavy"/>
380+
<b id="58" B="23" E="24" Display="Wavy"/>
381381
<b id="59" B="24" E="25"/>
382382
<b id="60" B="25" E="26"/>
383383
<b id="61" B="25" E="27"/>
@@ -386,14 +386,14 @@ stereo_either-0020.mol
386386
<b id="64" B="29" E="30"/>
387387
<b id="65" B="29" E="31"/>
388388
<b id="66" B="29" E="32"/>
389-
<b id="67" B="33" E="23"/>
389+
<b id="67" B="33" E="23" Display="Wavy"/>
390390
<b id="68" B="33" E="34"/>
391391
<b id="69" B="34" E="35"/>
392392
<b id="70" B="34" E="36"/>
393393
<b id="71" B="34" E="37"/>
394-
<b id="72" B="33" E="38" Order="2"/>
395-
<b id="73" B="39" E="38"/>
396-
<b id="74" B="5" E="39" Order="2"/>
394+
<b id="72" B="33" E="38" Order="2" Display="Wavy"/>
395+
<b id="73" B="39" E="38" Display="Wavy"/>
396+
<b id="74" B="5" E="39" Order="2" Display="Wavy"/>
397397
</fragment>
398398
</page>
399399
</CDXML>

api/tests/integration/tests/formats/cdx_export.py

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ def test_file(filename, suffix=".mol"):
7272
print("*** KET to CDX ***")
7373
test_file("issue_1774", ".ket")
7474
test_file("issue_1775", ".ket")
75+
test_file("issue_1777", ".ket")
7576

7677
root = joinPathPy("reactions/", __file__)
7778
files = ["agents"]

0 commit comments

Comments
 (0)