-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#1230 Unable to save file if the canvas has a reaction arrow and a Fu…
…nctional Group (#1237)
- Loading branch information
Showing
6 changed files
with
199 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
*** KET to MOL *** | ||
suplabel.ket:SUCCEED | ||
empty_apid.ket:SUCCEED | ||
ket-reaction-arrow.ket:SUCCEED |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
154 changes: 154 additions & 0 deletions
154
api/tests/integration/tests/formats/reactions/empty_apid.ket
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,154 @@ | ||
{ | ||
"root": { | ||
"nodes": [ | ||
{ | ||
"$ref": "mol0" | ||
}, | ||
{ | ||
"type": "arrow", | ||
"data": { | ||
"mode": "open-angle", | ||
"pos": [ | ||
{ | ||
"x": 3.1, | ||
"y": -4.575, | ||
"z": 0 | ||
}, | ||
{ | ||
"x": 7.804253394535632, | ||
"y": -4.575, | ||
"z": 0 | ||
} | ||
] | ||
} | ||
} | ||
] | ||
}, | ||
"mol0": { | ||
"type": "molecule", | ||
"atoms": [ | ||
{ | ||
"label": "C", | ||
"location": [ | ||
9.325000000000001, | ||
-3.875, | ||
0 | ||
] | ||
}, | ||
{ | ||
"label": "O", | ||
"location": [ | ||
9.825003666733892, | ||
-3.008993649216902, | ||
0 | ||
] | ||
}, | ||
{ | ||
"label": "O", | ||
"location": [ | ||
9.825003666733892, | ||
-4.741006350783098, | ||
0 | ||
] | ||
}, | ||
{ | ||
"label": "C", | ||
"location": [ | ||
10.825011000201673, | ||
-3.008993649216902, | ||
0 | ||
] | ||
}, | ||
{ | ||
"label": "C", | ||
"location": [ | ||
11.825018333669453, | ||
-3.008993649216902, | ||
0 | ||
] | ||
}, | ||
{ | ||
"label": "C", | ||
"location": [ | ||
10.825011000201673, | ||
-2.008986315749121, | ||
0 | ||
] | ||
}, | ||
{ | ||
"label": "C", | ||
"location": [ | ||
10.825011000201673, | ||
-4.009000982684682, | ||
0 | ||
] | ||
} | ||
], | ||
"bonds": [ | ||
{ | ||
"type": 1, | ||
"atoms": [ | ||
0, | ||
1 | ||
] | ||
}, | ||
{ | ||
"type": 2, | ||
"atoms": [ | ||
0, | ||
2 | ||
] | ||
}, | ||
{ | ||
"type": 1, | ||
"atoms": [ | ||
1, | ||
3 | ||
] | ||
}, | ||
{ | ||
"type": 1, | ||
"atoms": [ | ||
3, | ||
4 | ||
] | ||
}, | ||
{ | ||
"type": 1, | ||
"atoms": [ | ||
3, | ||
5 | ||
] | ||
}, | ||
{ | ||
"type": 1, | ||
"atoms": [ | ||
3, | ||
6 | ||
] | ||
} | ||
], | ||
"sgroups": [ | ||
{ | ||
"type": "SUP", | ||
"atoms": [ | ||
0, | ||
1, | ||
2, | ||
3, | ||
4, | ||
5, | ||
6 | ||
], | ||
"name": "Boc", | ||
"id": 0, | ||
"attachmentPoints": [ | ||
{ | ||
"attachmentAtom": 0, | ||
"attachmentId": "" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
$RXN | ||
|
||
-INDIGO- 0100000000 | ||
|
||
0 1 | ||
$MOL | ||
|
||
-INDIGO-01000000002D | ||
|
||
7 6 0 0 0 0 0 0 0 0999 V2000 | ||
9.3250 -3.8750 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 | ||
9.8250 -3.0090 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0 | ||
9.8250 -4.7410 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0 | ||
10.8250 -3.0090 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 | ||
11.8250 -3.0090 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 | ||
10.8250 -2.0090 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 | ||
10.8250 -4.0090 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1 2 1 0 0 0 0 | ||
1 3 2 0 0 0 0 | ||
2 4 1 0 0 0 0 | ||
4 5 1 0 0 0 0 | ||
4 6 1 0 0 0 0 | ||
4 7 1 0 0 0 0 | ||
M STY 1 1 SUP | ||
M SLB 1 1 1 | ||
M SAL 1 7 1 2 3 4 5 6 7 | ||
M SMT 1 Boc | ||
M SAP 1 1 1 0 | ||
M SDI 1 4 0.0000 0.0000 0.0000 0.0000 | ||
M SDI 1 4 0.0000 0.0000 0.0000 0.0000 | ||
M END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters