schrodinger.ui.sketcher_image module

Provides wrappers for Sketcher image-generating functionality. This module can be imported safely even in the absence of dependencies such as xlibs, but calling the functions will throw if the dependencies are unavailable.

schrodinger.ui.sketcher_image.allow_structure_input(func, mol, *args, **kwargs)

Decorator that allows a Structure object to be passed in as input

schrodinger.ui.sketcher_image.allow_structure_list_input(func, mols, *args, **kwargs)

Decorator that allows a list of Structure objects to be passed in as input

schrodinger.ui.sketcher_image.get_qpicture(*args, **kwargs)
schrodinger.ui.sketcher_image.get_qimage(*args, **kwargs)
schrodinger.ui.sketcher_image.get_image_bytes(*args, **kwargs)
schrodinger.ui.sketcher_image.save_image_file(*args, **kwargs)
schrodinger.ui.sketcher_image.get_best_image_scale(*args, **kwargs)