epam / epam/Indigo

'/v2/indigo/render' endpoint throws exception

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

Description

**Steps to reproduce:**
1. Execute 'render' method with the following arguments:
struct:
[struct.txt](https://github.com/epam/Indigo/files/6122296/struct.txt)

options:
{
"smart-layout": true,
"ignore-stereochemistry-errors": true,
"mass-skip-error-on-pseudoatoms": false,
"gross-formula-add-rsites": true,
"outputFormat": "svg"
}

**Expected result:**
Base64 string is generated without any exceptions

**Actual result:**
500 HTTP code is gotten with the following description:
{
"error": "'NoneType' object has no attribute 'loadMolecule'"
}

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.