Skip to content

Commit

Permalink
#5833 - Importing functional groups (e.g. Boc, Bn, CF3) ignores drawi…
Browse files Browse the repository at this point in the history
…ng settings (#5874)

* applied functional group drawing settings

* added micromolecules tests

* added macromolecules tests

* fixed bunch of micromol tests

* fixed bunch of macromol tests
  • Loading branch information
aproskurnov authored Oct 29, 2024
1 parent 559630b commit 5e8843c
Show file tree
Hide file tree
Showing 240 changed files with 8 additions and 2 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
Expand Up @@ -178,7 +178,6 @@ test.describe('Tests for API setMolecule/getMolecule', () => {
});

expect(cdxmlFile).toEqual(cdxmlFileExpected);
await takeEditorScreenshot(page);
});

test('Validate that unsplit nucleotides connected with chems could be saved to Cdxml file and loaded back', async ({
Expand Down
Diff not rendered.
Original file line number Diff line number Diff line change
Expand Up @@ -304,12 +304,18 @@ class ReAtom extends ReObject {
: this.a.pp,
render.options,
);
const fontFamily = options.font.substr(
options.font.indexOf(' ') + 1,
options.font.length,
);
const path = render.paper
.text(position.x, position.y, sgroup.data.name)
.attr({
'font-weight': 700,
'font-size': 14,
'font-size': options.fontszInPx,
'font-family': fontFamily,
});

restruct.addReObjectPath(
LayerMap.data,
this.visel,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ function SystemFonts(props) {
const fonts = results
.filter((i) => i !== null)
.map((font) => {
// TODO remove font-size from here
return { value: `30px ${font}`, label: font };
});
if (mounted) {
Expand Down

0 comments on commit 5e8843c

Please sign in to comment.