Skip to content

Commit

Permalink
Backmerge: #3097 – Apply auto zoom and centering for API
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitvex committed Aug 14, 2023
1 parent ca7f765 commit fc229dd
Show file tree
Hide file tree
Showing 80 changed files with 62 additions and 60 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Ketcher 8102320 82D 1 1.00000 0.00000 0
Ketcher 8142315222D 1 1.00000 0.00000 0

10 9 0 0 1 0 0 0 0 0999 V2000
12.0438 -8.0500 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

-INDIGO-08102320082D
-INDIGO-08142315222D

0 0 0 0 0 0 0 0 0 0 0 V3000
M V30 BEGIN CTAB
Expand Down
2 changes: 1 addition & 1 deletion ketcher-autotests/tests/test-data/V2000-abs-expected.mol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Ketcher 8102320 82D 1 1.00000 0.00000 0
Ketcher 8142315232D 1 1.00000 0.00000 0

43 47 0 0 1 0 0 0 0 0999 V2000
15.0439 -7.1683 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
Expand Down
2 changes: 1 addition & 1 deletion ketcher-autotests/tests/test-data/V3000-abs-expected.mol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

-INDIGO-08102320082D
-INDIGO-08142315222D

0 0 0 0 0 0 0 0 0 0 0 V3000
M V30 BEGIN CTAB
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Ketcher 8102320292D 1 1.00000 0.00000 0
Ketcher 8142315332D 1 1.00000 0.00000 0

12 13 0 0 0 0 0 0 0 0999 V2000
14.2066 -9.2995 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$RXN V3000

-INDIGO- 0810232030
-INDIGO- 0814231533

M V30 COUNTS 1 1
M V30 BEGIN REACTANT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
$RXN

-INDIGO- 0810232011
-INDIGO- 0814231524

1 1
$MOL

-INDIGO-08102320112D
-INDIGO-08142315242D

24 27 0 0 0 0 0 0 0 0999 V2000
9.4649 -7.7992 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
Expand Down Expand Up @@ -62,7 +62,7 @@ $MOL
M END
$MOL

-INDIGO-08102320112D
-INDIGO-08142315242D

6 6 0 0 0 0 0 0 0 0999 V2000
18.9547 -7.8001 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$RXN V3000

-INDIGO- 0810232011
-INDIGO- 0814231524

M V30 COUNTS 1 1
M V30 BEGIN REACTANT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Ketcher 8102320102D 1 1.00000 0.00000 0
Ketcher 8142315232D 1 1.00000 0.00000 0

24 27 0 0 0 0 0 0 0 0999 V2000
11.8301 -7.7992 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

-INDIGO-08102320102D
-INDIGO-08142315242D

0 0 0 0 0 0 0 0 0 0 0 V3000
M V30 BEGIN CTAB
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

-INDIGO-08102320072D
-INDIGO-08142315222D

0 0 0 0 0 0 0 0 0 0 0 V3000
M V30 BEGIN CTAB
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Ketcher 8102320272D 1 1.00000 0.00000 0
Ketcher 8142315322D 1 1.00000 0.00000 0

11 11 0 0 0 0 0 0 0 0999 V2000
12.3000 -7.8001 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$RXN V3000

-INDIGO- 0810232018
-INDIGO- 0814231528

M V30 COUNTS 1 1 1
M V30 BEGIN REACTANT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Ketcher 8102320272D 1 1.00000 0.00000 0
Ketcher 8142315322D 1 1.00000 0.00000 0

6 6 0 0 0 0 0 0 0 0999 V2000
14.2098 -7.8001 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Ketcher 8102320272D 1 1.00000 0.00000 0
Ketcher 8142315322D 1 1.00000 0.00000 0

6 6 0 0 0 0 0 0 0 0999 V2000
14.2098 -7.8001 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

-INDIGO-08102321302D
-INDIGO-08142315292D

8 7 0 0 0 0 0 0 0 0999 V2000
12.0439 -8.0500 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

-INDIGO-08102321252D
-INDIGO-08142315292D

0 0 0 0 0 0 0 0 0 0 0 V3000
M V30 BEGIN CTAB
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Ketcher 8102320292D 1 1.00000 0.00000 0
Ketcher 8142315332D 1 1.00000 0.00000 0

9 8 0 0 0 0 0 0 0 0999 V2000
11.6109 -8.0500 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Ketcher 8102320272D 1 1.00000 0.00000 0
Ketcher 8142315322D 1 1.00000 0.00000 0

7 6 0 0 0 0 0 0 0 0999 V2000
12.4716 -8.0745 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

-INDIGO-08102321262D
-INDIGO-08142315302D

7 6 0 0 0 0 0 0 0 0999 V2000
12.4769 -8.0500 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Ketcher 8102320282D 1 1.00000 0.00000 0
Ketcher 8142315332D 1 1.00000 0.00000 0

9 8 0 0 0 0 0 0 0 0999 V2000
11.6109 -8.0500 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Ketcher 8102320302D 1 1.00000 0.00000 0
Ketcher 8142315332D 1 1.00000 0.00000 0

7 6 0 0 0 0 0 0 0 0999 V2000
12.4769 -8.0500 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Ketcher 8102320282D 1 1.00000 0.00000 0
Ketcher 8142315332D 1 1.00000 0.00000 0

9 8 0 0 0 0 0 0 0 0999 V2000
11.6109 -8.0500 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Ketcher 8102320292D 1 1.00000 0.00000 0
Ketcher 8142315332D 1 1.00000 0.00000 0

10 9 0 0 0 0 0 0 0 0999 V2000
11.1779 -8.0500 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Ketcher 8102320282D 1 1.00000 0.00000 0
Ketcher 8142315322D 1 1.00000 0.00000 0

9 8 0 0 0 0 0 0 0 0999 V2000
11.6109 -8.0500 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

-INDIGO-08102320082D
-INDIGO-08142315222D

0 0 0 0 0 0 0 0 0 0 0 V3000
M V30 BEGIN CTAB
Expand Down
2 changes: 1 addition & 1 deletion ketcher-autotests/tests/test-data/heteroatoms-expected.mol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Ketcher 8102320 82D 1 1.00000 0.00000 0
Ketcher 8142315222D 1 1.00000 0.00000 0

9 8 0 0 0 0 0 0 0 0999 V2000
11.6109 -8.5500 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
Expand Down
2 changes: 1 addition & 1 deletion ketcher-autotests/tests/test-data/ketcher (4)-expected.mol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Ketcher 8102320 82D 1 1.00000 0.00000 0
Ketcher 8142315222D 1 1.00000 0.00000 0

17 16 0 0 0 0 0 0 0 0999 V2000
9.8788 -9.2748 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
$RXN

-INDIGO- 0810232018
-INDIGO- 0814231528

1 1 1
$MOL

-INDIGO-08102320182D
-INDIGO-08142315282D

6 6 0 0 0 0 0 0 0 0999 V2000
10.0723 -7.7876 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
Expand All @@ -23,7 +23,7 @@ $MOL
M END
$MOL

-INDIGO-08102320182D
-INDIGO-08142315282D

6 6 0 0 0 0 0 0 0 0999 V2000
18.3473 -7.8126 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
Expand All @@ -41,7 +41,7 @@ $MOL
M END
$MOL

-INDIGO-08102320182D
-INDIGO-08142315282D

1 0 0 0 0 0 0 0 0 0999 V2000
14.8375 -7.8875 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$RXN V3000

-INDIGO- 0810232018
-INDIGO- 0814231528

M V30 COUNTS 1 1 1
M V30 BEGIN REACTANT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Ketcher 8102320 92D 1 1.00000 0.00000 0
Ketcher 8142315232D 1 1.00000 0.00000 0

6 6 0 0 0 0 0 0 0 0999 V2000
13.8348 -7.5001 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Ketcher 8102320 72D 1 1.00000 0.00000 0
Ketcher 8142315222D 1 1.00000 0.00000 0

27 26 0 0 0 0 0 0 0 0999 V2000
7.7138 -5.5500 0.0000 N 0 0 0 0 0 4 0 0 0 0 0 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

-INDIGO-08102320232D
-INDIGO-08142315312D

7 6 0 0 0 0 0 0 0 0999 V2000
12.4769 -8.0500 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Ketcher 8102320152D 1 1.00000 0.00000 0
Ketcher 8142315272D 1 1.00000 0.00000 0

24 24 0 0 1 0 0 0 0 0999 V2000
7.4787 -7.4574 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$RXN V3000

-INDIGO- 0810232009
-INDIGO- 0814231523

M V30 COUNTS 1 1
M V30 BEGIN REACTANT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
$RXN

-INDIGO- 0810232125
-INDIGO- 0814231529

1 2
$MOL

-INDIGO-08102321252D
-INDIGO-08142315292D

9 8 0 0 0 0 0 0 0 0999 V2000
5.8375 -8.1000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
Expand All @@ -28,14 +28,14 @@ $MOL
M END
$MOL

-INDIGO-08102321252D
-INDIGO-08142315292D

1 0 0 0 0 0 0 0 0 0999 V2000
24.3125 -8.0750 0.0000 Br 0 0 0 0 0 0 0 0 0 0 0 0
M END
$MOL

-INDIGO-08102321252D
-INDIGO-08142315292D

6 5 0 0 0 0 0 0 0 0999 V2000
17.6420 -8.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$RXN V3000

-INDIGO- 0810232125
-INDIGO- 0814231529

M V30 COUNTS 1 2
M V30 BEGIN REACTANT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
$RXN

-INDIGO- 0810232009
-INDIGO- 0814231523

1 1
$MOL

-INDIGO-08102320092D
-INDIGO-08142315232D

6 6 0 0 0 0 0 0 0 0999 V2000
13.8348 -7.5001 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
Expand All @@ -23,7 +23,7 @@ $MOL
M END
$MOL

-INDIGO-08102320092D
-INDIGO-08142315232D

6 6 0 0 0 0 0 0 0 0999 V2000
13.8348 -2.7251 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
$RXN

-INDIGO- 0810232009
-INDIGO- 0814231523

2 1
$MOL

-INDIGO-08102320092D
-INDIGO-08142315232D

5 5 0 0 0 0 0 0 0 0999 V2000
14.0148 -9.3277 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
Expand All @@ -21,7 +21,7 @@ $MOL
M END
$MOL

-INDIGO-08102320092D
-INDIGO-08142315232D

10 9 0 0 0 0 0 0 0 0999 V2000
3.9534 -8.0662 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
Expand Down Expand Up @@ -52,7 +52,7 @@ M SDI 1 4 0.0000 0.0000 0.0000 0.0000
M END
$MOL

-INDIGO-08102320092D
-INDIGO-08142315232D

17 17 0 0 0 0 0 0 0 0999 V2000
19.7156 -9.2536 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Ketcher 8102320 82D 1 1.00000 0.00000 0
Ketcher 8142315222D 1 1.00000 0.00000 0

10 9 0 0 0 0 0 0 0 0999 V2000
9.8788 -8.3000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

-INDIGO-08102320082D
-INDIGO-08142315222D

0 0 0 0 0 0 0 0 0 0 0 V3000
M V30 BEGIN CTAB
Expand Down
Loading

0 comments on commit fc229dd

Please sign in to comment.