schrodinger.application.desmond.image_generator module¶
-
class
schrodinger.application.desmond.image_generator.
ImageGenerator
[source]¶ Bases:
object
A base class to generate 2D structure image file from SMILES
-
generate
(smiles, image, format=None)[source]¶ Generating 2D image file from SMILES string :type smiles: string :param smiles: SMILES string representing molecule structure. :type image: string :param image: The output image file name of 2D structure. :type format: string :param format: output format of the image file. By default,
the output format will be deduced from the output image file name.
-
-
class
schrodinger.application.desmond.image_generator.
SchrodImageGenerator
[source]¶ Bases:
schrodinger.application.desmond.image_generator.ImageGenerator
A class to generate 2D structure image file from SMILES using Schrodinger toolkit.
-
generate
(smiles, image, format=None)¶ Generating 2D image file from SMILES string :type smiles: string :param smiles: SMILES string representing molecule structure. :type image: string :param image: The output image file name of 2D structure. :type format: string :param format: output format of the image file. By default,
the output format will be deduced from the output image file name.
-
getSupportedFormats
()¶
-
register
(format, generator)¶
-