schrodinger.application.pymol.mae_sync module

class schrodinger.application.pymol.mae_sync.MaestroEntriesInfo(num_ws_entries, num_pt_sel_entries, num_pt_entries, num_scenes)

Bases: tuple

num_pt_entries

Alias for field number 2

num_pt_sel_entries

Alias for field number 1

num_scenes

Alias for field number 3

num_ws_entries

Alias for field number 0

class schrodinger.application.pymol.mae_sync.MaestroViewSettingsModel(ws_view_matrix: list, ws_coordinate_center: list, ws_translation: list, ws_viewing_volume: list, perspective: float)

Bases: object

Stores the current view settings of Maestro.

ws_view_matrix: list
ws_coordinate_center: list
ws_translation: list
ws_viewing_volume: list
perspective: float
__init__(ws_view_matrix: list, ws_coordinate_center: list, ws_translation: list, ws_viewing_volume: list, perspective: float) None
class schrodinger.application.pymol.mae_sync.MaestroSettingsModel(scenes: dict, center_rotation: bool, view_settings: schrodinger.application.pymol.mae_sync.MaestroViewSettingsModel)

Bases: object

Stores the current maestro settings, that we export to PyMOL.

scenes: dict
center_rotation: bool
view_settings: schrodinger.application.pymol.mae_sync.MaestroViewSettingsModel
__init__(scenes: dict, center_rotation: bool, view_settings: schrodinger.application.pymol.mae_sync.MaestroViewSettingsModel) None
class schrodinger.application.pymol.mae_sync.PyMOLMaestroSync(*args, **kwargs)

Bases: schrodinger.maestro_utils.maestro_sync.BaseMaestroSync, PyQt6.QtCore.QObject

A connector class that updates the current project information in maestro to Export To PyMOL panel.

Variables

entriesInfoChanged – Signal emitted when there is any update in project. It sends information of current project entries information for client to consume.

entriesInfoChanged

A pyqtSignal emitted by instances of the class.

onProjectUpdated()

Callback method for project update events. Should be overridden in concrete subclasses to add functionality.

getMaestroSettings()

Sends maestro related information required during export.

getCenterRotation() bool

Return center rotation setting in Maestro.

getScenesData() dict[int, str]

Returns a dict storing scenes description for each scene.

schrodinger.application.pymol.mae_sync.get_maestro_view_settings() schrodinger.application.pymol.mae_sync.MaestroViewSettingsModel

Returns the current maestro view settings model.

schrodinger.application.pymol.mae_sync.get_perspective() float

Return persective data if available, else -1.