schrodinger.livedesign.pymol_image module

schrodinger.livedesign.pymol_image.get_pymol_cmd(mae_path: str, background_color: str, width: int, height: int, output_file: str) str
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.