Skip to content

Commit f678d0a

Browse files
authored
#2860, #2858, #2047 Copy to clipboard doesn't work if Multi-Tailed Arrow present on the canvas (#2866)
1 parent cb47d11 commit f678d0a

File tree

10 files changed

+707
-5
lines changed

10 files changed

+707
-5
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@ multi_overlap.ket:SUCCEED
1515
963-super.cdxml:SUCCEED
1616
images.cdxml:SUCCEED
1717
macro/sa-mono.cdxml:SUCCEED
18+
shapes.cdxml:SUCCEED
1819
*** Reaction CDXML to KET ***
1920
2333-EnhancedStereochemistry.ket:SUCCEED

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

+1
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ pathway8.rdf:SUCCEED
2121
pathway9.rdf:SUCCEED
2222
pathway_merge1.rdf:SUCCEED
2323
pathway_merge2.rdf:SUCCEED
24+
pathway_no_product.rdf:SUCCEED

api/tests/integration/tests/formats/ket_cdxml.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def find_diff(a, b):
8585
print("*** KET to CDXML ***")
8686

8787
root_m = joinPathPy("molecules/", __file__)
88-
files = ["963-super", "macro/sa-mono", "images"]
88+
files = ["963-super", "macro/sa-mono", "images", "shapes"]
8989

9090
files.sort()
9191

api/tests/integration/tests/formats/ket_to_rdf.py

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ def find_diff(a, b):
4747
"multi_merge4",
4848
"multi_merge5",
4949
"multi_merge6",
50+
"pathway_no_product",
5051
]
5152

5253
files.sort()
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
{
2+
"root": {
3+
"nodes": [
4+
{
5+
"type": "simpleObject",
6+
"data": {
7+
"mode": "ellipse",
8+
"pos": [
9+
{
10+
"x": 8.3,
11+
"y": -7.675000000000001,
12+
"z": 0
13+
},
14+
{
15+
"x": 15.725000000000001,
16+
"y": -10.825000000000001,
17+
"z": 0
18+
}
19+
]
20+
}
21+
},
22+
{
23+
"type": "simpleObject",
24+
"data": {
25+
"mode": "line",
26+
"pos": [
27+
{
28+
"x": 7.95,
29+
"y": -10.975000000000001,
30+
"z": 0
31+
},
32+
{
33+
"x": 15.425,
34+
"y": -7.075,
35+
"z": 0
36+
}
37+
]
38+
}
39+
},
40+
{
41+
"type": "simpleObject",
42+
"data": {
43+
"mode": "line",
44+
"pos": [
45+
{
46+
"x": 16.225,
47+
"y": -7.7,
48+
"z": 0
49+
},
50+
{
51+
"x": 8.5,
52+
"y": -11.700000000000001,
53+
"z": 0
54+
}
55+
]
56+
}
57+
},
58+
{
59+
"type": "simpleObject",
60+
"data": {
61+
"mode": "line",
62+
"pos": [
63+
{
64+
"x": 7.875,
65+
"y": -14.975000000000001,
66+
"z": 0
67+
},
68+
{
69+
"x": 16.150000000000002,
70+
"y": -18.875,
71+
"z": 0
72+
}
73+
]
74+
}
75+
},
76+
{
77+
"type": "simpleObject",
78+
"data": {
79+
"mode": "line",
80+
"pos": [
81+
{
82+
"x": 15.5,
83+
"y": -20.150000000000002,
84+
"z": 0
85+
},
86+
{
87+
"x": 6.8500000000000005,
88+
"y": -15.700000000000001,
89+
"z": 0
90+
}
91+
]
92+
}
93+
},
94+
{
95+
"type": "simpleObject",
96+
"data": {
97+
"mode": "rectangle",
98+
"pos": [
99+
{
100+
"x": 9.375,
101+
"y": -14.450000000000001,
102+
"z": 0
103+
},
104+
{
105+
"x": 14.475000000000001,
106+
"y": -21,
107+
"z": 0
108+
}
109+
]
110+
}
111+
},
112+
{
113+
"type": "simpleObject",
114+
"data": {
115+
"mode": "rectangle",
116+
"pos": [
117+
{
118+
"x": 17,
119+
"y": -23.275000000000002,
120+
"z": 0
121+
},
122+
{
123+
"x": 6.4,
124+
"y": -13.05,
125+
"z": 0
126+
}
127+
]
128+
}
129+
}
130+
],
131+
"connections": [],
132+
"templates": []
133+
}
134+
}

0 commit comments

Comments
 (0)