epam / epam/Indigo

The response contains the incorrect location of the R-Group structure when the Layout server function is applied

Open
#749 0 comments 0 reactions 1 assignee Claimed by @even1024 View on GitHub
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

**Steps to Reproduce:**

1. Execute v2/indigo/layout with the following parameters:
struct:
[The R-Group structure.zip](https://github.com/epam/Indigo/files/8796003/The.R-Group.structure.zip)

options: {smart-layout: true, ignore-stereochemistry-errors: true, mass-skip-error-on-pseudoatoms: false,…}
aromatize-skip-superatoms: true
gross-formula-add-isotopes: true
gross-formula-add-rsites: true
ignore-stereochemistry-errors: true
mass-skip-error-on-pseudoatoms: false
smart-layout: true
output_format: "chemical/x-indigo-ket"

**Expected behavior:**
The R-Group structure is present in the response with correct location (structure should be relocated to the top left of the canvas

**Actual behavior:**
Response contains the incorrect location (structure is relocated to the down left of the canvas)

Note: the response contains the incorrect coordinate of the Y-axis

Version 1.7.1.0-g23683ad99-x86_64-linux-gnu-11.2.1

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.