Skip to content

Commit

Permalink
* #3097 – Apply auto zoom and centering for API
Browse files Browse the repository at this point in the history
* - updated snapshots

* - updated expected files;
- updated 2 snapshots

---------

Co-authored-by: Mikhail Zhirnov <mikhail_zhirnov@epam.com>
  • Loading branch information
Nitvex and Zhirnoff committed Aug 14, 2023
1 parent ca7f765 commit 59dece7
Show file tree
Hide file tree
Showing 80 changed files with 242 additions and 0 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.
4 changes: 4 additions & 0 deletions ketcher-autotests/tests/test-data/Attached data-expected.mol
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@

<<<<<<< HEAD
Ketcher 8102320 82D 1 1.00000 0.00000 0
=======
Ketcher 8142315222D 1 1.00000 0.00000 0
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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,9 @@

<<<<<<< HEAD
-INDIGO-08102320082D
=======
-INDIGO-08142315222D
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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

<<<<<<< HEAD
Ketcher 8102320 82D 1 1.00000 0.00000 0
=======
Ketcher 8142315232D 1 1.00000 0.00000 0
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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
4 changes: 4 additions & 0 deletions ketcher-autotests/tests/test-data/V3000-abs-expected.mol
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@

<<<<<<< HEAD
-INDIGO-08102320082D
=======
-INDIGO-08142315222D
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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,9 @@

<<<<<<< HEAD
Ketcher 8102320292D 1 1.00000 0.00000 0
=======
Ketcher 8142315332D 1 1.00000 0.00000 0
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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,10 @@
$RXN V3000

<<<<<<< HEAD
-INDIGO- 0810232030
=======
-INDIGO- 0814231533
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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

<<<<<<< HEAD
-INDIGO- 0810232011
=======
-INDIGO- 0814231524
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

1 1
$MOL

<<<<<<< HEAD
-INDIGO-08102320112D
=======
-INDIGO-08142315242D
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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 +70,11 @@ $MOL
M END
$MOL

<<<<<<< HEAD
-INDIGO-08102320112D
=======
-INDIGO-08142315242D
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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,10 @@
$RXN V3000

<<<<<<< HEAD
-INDIGO- 0810232011
=======
-INDIGO- 0814231524
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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

<<<<<<< HEAD
Ketcher 8102320102D 1 1.00000 0.00000 0
=======
Ketcher 8142315232D 1 1.00000 0.00000 0
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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,9 @@

<<<<<<< HEAD
-INDIGO-08102320102D
=======
-INDIGO-08142315242D
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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,9 @@

<<<<<<< HEAD
-INDIGO-08102320072D
=======
-INDIGO-08142315222D
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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,9 @@

<<<<<<< HEAD
Ketcher 8102320272D 1 1.00000 0.00000 0
=======
Ketcher 8142315322D 1 1.00000 0.00000 0
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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,10 @@
$RXN V3000

<<<<<<< HEAD
-INDIGO- 0810232018
=======
-INDIGO- 0814231528
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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,9 @@

<<<<<<< HEAD
Ketcher 8102320272D 1 1.00000 0.00000 0
=======
Ketcher 8142315322D 1 1.00000 0.00000 0
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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,9 @@

<<<<<<< HEAD
Ketcher 8102320272D 1 1.00000 0.00000 0
=======
Ketcher 8142315322D 1 1.00000 0.00000 0
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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,9 @@

<<<<<<< HEAD
-INDIGO-08102321302D
=======
-INDIGO-08142315292D
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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,9 @@

<<<<<<< HEAD
-INDIGO-08102321252D
=======
-INDIGO-08142315292D
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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,9 @@

<<<<<<< HEAD
Ketcher 8102320292D 1 1.00000 0.00000 0
=======
Ketcher 8142315332D 1 1.00000 0.00000 0
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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,9 @@

<<<<<<< HEAD
Ketcher 8102320272D 1 1.00000 0.00000 0
=======
Ketcher 8142315322D 1 1.00000 0.00000 0
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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,9 @@

<<<<<<< HEAD
-INDIGO-08102321262D
=======
-INDIGO-08142315302D
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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,9 @@

<<<<<<< HEAD
Ketcher 8102320282D 1 1.00000 0.00000 0
=======
Ketcher 8142315332D 1 1.00000 0.00000 0
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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,9 @@

<<<<<<< HEAD
Ketcher 8102320302D 1 1.00000 0.00000 0
=======
Ketcher 8142315332D 1 1.00000 0.00000 0
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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,9 @@

<<<<<<< HEAD
Ketcher 8102320282D 1 1.00000 0.00000 0
=======
Ketcher 8142315332D 1 1.00000 0.00000 0
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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,9 @@

<<<<<<< HEAD
Ketcher 8102320292D 1 1.00000 0.00000 0
=======
Ketcher 8142315332D 1 1.00000 0.00000 0
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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,9 @@

<<<<<<< HEAD
Ketcher 8102320282D 1 1.00000 0.00000 0
=======
Ketcher 8142315322D 1 1.00000 0.00000 0
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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,9 @@

<<<<<<< HEAD
-INDIGO-08102320082D
=======
-INDIGO-08142315222D
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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

<<<<<<< HEAD
Ketcher 8102320 82D 1 1.00000 0.00000 0
=======
Ketcher 8142315222D 1 1.00000 0.00000 0
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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
4 changes: 4 additions & 0 deletions ketcher-autotests/tests/test-data/ketcher (4)-expected.mol
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@

<<<<<<< HEAD
Ketcher 8102320 82D 1 1.00000 0.00000 0
=======
Ketcher 8142315222D 1 1.00000 0.00000 0
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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
16 changes: 16 additions & 0 deletions ketcher-autotests/tests/test-data/mdl-rxnfile-v2000-expected.rxn
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
$RXN

<<<<<<< HEAD
-INDIGO- 0810232018
=======
-INDIGO- 0814231528
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

1 1 1
$MOL

<<<<<<< HEAD
-INDIGO-08102320182D
=======
-INDIGO-08142315282D
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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 +31,11 @@ $MOL
M END
$MOL

<<<<<<< HEAD
-INDIGO-08102320182D
=======
-INDIGO-08142315282D
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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 +53,11 @@ $MOL
M END
$MOL

<<<<<<< HEAD
-INDIGO-08102320182D
=======
-INDIGO-08142315282D
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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,10 @@
$RXN V3000

<<<<<<< HEAD
-INDIGO- 0810232018
=======
-INDIGO- 0814231528
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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,9 @@

<<<<<<< HEAD
Ketcher 8102320 92D 1 1.00000 0.00000 0
=======
Ketcher 8142315232D 1 1.00000 0.00000 0
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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,9 @@

<<<<<<< HEAD
Ketcher 8102320 72D 1 1.00000 0.00000 0
=======
Ketcher 8142315222D 1 1.00000 0.00000 0
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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,9 @@

<<<<<<< HEAD
-INDIGO-08102320232D
=======
-INDIGO-08142315312D
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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,9 @@

<<<<<<< HEAD
Ketcher 8102320152D 1 1.00000 0.00000 0
=======
Ketcher 8142315272D 1 1.00000 0.00000 0
>>>>>>> 480d64db2 (#3097 – apply auto zoom and centering for api (#3111))

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
Loading

0 comments on commit 59dece7

Please sign in to comment.