schrodinger.livedesign.pymol_image module

schrodinger.livedesign.pymol_image.get_3D_pymol_image(mol: rdkit.Chem.rdchem.Mol, options: Optional[schrodinger.livedesign.draw.ImageGenOptions] = None) bytes

Generate a 3D image thumbnail of a molecule using PyMOL.

Parameters
  • mol – molecule to generate an image of

  • options – The options for generating the image.

Returns

The byte array of the image.

Note: This currently only supports PNG and small molecule images.