schrodinger.maestro_utils.surface_manager.commands module

class schrodinger.maestro_utils.surface_manager.commands.MaestroCommand

Bases: Enum

Enum for Maestro commands.

SURFACE_DISPLAY = 'surfacedisplay'
SURFACE_RENAME = 'surfacerename'
SURFACE_DELETE = 'surfacedelete'
schrodinger.maestro_utils.surface_manager.commands.update_surface_display(entry_id: int, display: bool, surface_name: str)

Execute Maestro Command to update display of surfaces.

Parameters:
  • entry_id – Entry ID of the surface.

  • display – Boolean indicating whether to display the surface.

  • surface_name – Name of the surface.

schrodinger.maestro_utils.surface_manager.commands.rename_surface(entry_id: int, new_name: str, old_name: str)

Execute Maestro Command to rename a surface.

Parameters:
  • entry_id – Entry ID of the surface.

  • new_name – New name for the surface.

  • old_name – Old name of the surface.

schrodinger.maestro_utils.surface_manager.commands.delete_surface(entry_id: int, surface_name: str)

Execute Maestro Command to delete a surface.

Parameters:
  • entry_id – Entry ID of the surface.

  • surface_name – Name of the surface.