schrodinger.maestro_utils.surface_manager.surface_manager_panel module

schrodinger.maestro_utils.surface_manager.surface_manager_panel.set_surface_manager_panel()

Sends the SurfaceManagerPanel instance to Maestro through SurfaceManagerHub.

schrodinger.maestro_utils.surface_manager.surface_manager_panel.select_entries(entry_ids: list[int])

Select the given entry_ids in the workspace surfaces table. Clears the previous selection.

Parameters:

entry_ids – List of entry IDs to select.

schrodinger.maestro_utils.surface_manager.surface_manager_panel.select_surface(entry_id: int, surface_name: str)

Selects the given surface in the workspace surfaces table. Clears the previous selection.

Parameters:
  • entry_id – Entry ID of the surface to select.

  • surface_name – Name of the surface to select.

schrodinger.maestro_utils.surface_manager.surface_manager_panel.show_display_tab(entry_id_to_surfaces: dict[int, set[str]])

Show the Display tab for the specified surfaces in the Surface Manager Panel.

Parameters:

entry_id_to_surfaces – Dictionary mapping entry IDs to sets of surface names.

schrodinger.maestro_utils.surface_manager.surface_manager_panel.show_volume_tab(entry_id: int, surface_name: str)

Show the Volume tab for the specified surface in the Surface Manager Panel.

Parameters:
  • entry_id – Entry ID of the surface.

  • surface_name – Name of the surface.

class schrodinger.maestro_utils.surface_manager.surface_manager_panel.SurfaceManagerPanel(parent=None)

Bases: ExecutionMixin, PanelMixin, QWidget

Panel for managing surfaces.

__init__(parent=None)

Constructor for SurfaceManagerPanel. Sets up the UI and connects the signals.

runPanelCommand(panel_name: str)

Runs a command to show a specific panel in Maestro.

Parameters:

panel_name – Name of the panel to show.

updateStatusLabel(displayed_surfaces_count: int)

Updates the status label with the number of displayed surfaces.

Parameters:

displayed_surfaces_count – Number of displayed surfaces.

showEvent(event: QShowEvent)

Show event handler. Refreshes the secondary pane when the panel is shown. Also enables the details button if there are selected surfaces and closes the secondary pane if there are no selected surfaces.

Parameters:

event – The event.

selectEntries(entry_ids: list[int])

Selects the given entry_ids in the workspace surfaces table. Also clears the previous selection.

Parameters:

entry_ids – List of entry IDs to select.

selectSurfaces(entry_id_to_surfaces: dict[int, set[str]])

Selects the given surfaces in the workspace surfaces table. Also clears the previous selection.

Parameters:

entry_id_to_surfaces – Dictionary mapping entry IDs to sets of surface names.

showSecondaryPane(entry_id_to_surfaces: dict[int, set[str]])

Show the secondary pane for the specified surfaces in the Surface Manager Panel.

Parameters:

entry_id_to_surfaces – Dictionary mapping entry IDs to lists of surface names.