-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#3230 - Support parsing KET file for macromolecules on ketcher side
- added ket macromolecules deserializer for monomers and bonds - changed entities coordinate system to angstrems
- Loading branch information
1 parent
5e452d1
commit c5db77d
Showing
21 changed files
with
786 additions
and
51 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
ketcher-autotests/tests/Macromolecule-editor/Ket/ket-deserialize.spec.ts
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,18 @@ | ||
import { test } from '@playwright/test'; | ||
import { openFileAndAddToCanvas, takeEditorScreenshot } from '@utils'; | ||
import { turnOnMacromoleculesEditor } from '@utils/macromolecules'; | ||
|
||
test.describe('Ket Deserialize', () => { | ||
test.beforeEach(async ({ page }) => { | ||
await page.goto(''); | ||
await turnOnMacromoleculesEditor(page); | ||
}); | ||
test('Open ket file with monomers and bonds', async ({ page }) => { | ||
/* | ||
Test case: #3230 - Support parsing KET file for macromolecules on ketcher side | ||
Description: Ket Deserialize | ||
*/ | ||
await openFileAndAddToCanvas('KET/monomers-with-bonds.ket', page); | ||
await takeEditorScreenshot(page); | ||
}); | ||
}); |
Binary file added
BIN
+9.49 KB
...ots/Ket-Deserialize-Open-ket-file-with-monomers-and-bonds-1-chromium-darwin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.