epam / epam/Indigo

Windows x64 version doesn't depict structures with alias atoms

Open
#381 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

Windows x64 doesn't depict Alias atoms when the atom is defined as C instead of A in the atom block. The depicting operation gives an exception 'invalid floating point operation' for all output formats:

MolId:= indigoLoadMoleculeFromFile('AliasAtom.mol');
indigoSetOption('render-output-format','png');
indigoRenderToFile(MolId, 'AliasAtom.png');

-->exception invalid floating point operation

The win32 version of Indigo dlls does depict the alias atom:

![grafik](https://user-images.githubusercontent.com/70947872/112716811-dc07fd00-8ee8-11eb-92db-b77dbc656555.png)

Molfile example:

-INDIGO-03142119362D

5 5 0 0 0 0 0 0 0 0999 V2000
3.1077 -4.3468 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
4.3090 -4.3468 0.0000 C 0 0 3 0 0 0 0 0 0 0 0 0
3.1077 -5.5282 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
4.3090 -5.5282 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
5.1444 -3.5114 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
3 1 1 0 0 0 0
4 2 1 0 0 0 0
4 3 1 0 0 0 0
2 1 1 0 0 0 0
2 5 1 0 0 0 0
A 5
Alias
M END

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.