Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Technical issue regarding indigo renderer #1962

Open
jjishizaki opened this issue May 20, 2024 · 2 comments
Open

Technical issue regarding indigo renderer #1962

jjishizaki opened this issue May 20, 2024 · 2 comments

Comments

@jjishizaki
Copy link

Hello, I am currently programming a project that draws line-angle diagrams of molecules. I initially installed indigo using pip install epam.indigo and followed the documentation on the indigo website. However, when I type code referencing indigo renderer, such as indigoRenderer.renderGridToFile(array, None, 2, 'result.png'), it says that indigo renderer is not defined and I don't get an image of the molecule. At the beginning of my code I have from indigo import *; indigo = Indigo() (2 lines of code)
is this enough? How can I get indigo renderer to work to develop drawings of my molecules?

@even1024
Copy link
Collaborator

there are plenty of rendering tests here:

https://github.com/epam/Indigo/tree/master/api/tests/integration/tests/rendering

@jjishizaki
Copy link
Author

Hi, perhaps I don't have the necessary programming experience but I am wondering how these test files were able to get renderer to work. Even after typing from env_indigo import * and from rendering import * I am still getting issues saying the modules aren't recognized. I am also not well-versed with the errno, os, and sys modules. Does these files depend on there being other indigo-related files in the path?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants