schrodinger.application.livedesign.maestro_ld_connection module¶
This module contains functions that are called by cpp code to create the connection between Maestro and LiveDesign.
- schrodinger.application.livedesign.maestro_ld_connection.logout_from_livedesign()¶
Show disconnect dialog and disconnect from host if user clicks “Disconnect”. Still user need to restart Maestro to connect to another server. :return: Returns True if user clicks on disconnect. :rtype: bool
- schrodinger.application.livedesign.maestro_ld_connection.connect_to_livedesign()¶
Used by maestro to connect to LiveDesign.
- schrodinger.application.livedesign.maestro_ld_connection.try_login_using_last_session_credential() bool ¶
Attempt to access cached LiveDesign login credentials. If unavailable, then attempt to access last session’s login credentials.
- Returns
whether LiveDesign login credentials have been cached.
- schrodinger.application.livedesign.maestro_ld_connection.setup_connection_with_maestro()¶
Establishes connection between ld client and maestro hub to notify connection change to maestro. Connect
ld_client
signal for showing network error popup when LiveDesign server cannot be reached. This is called from maestro during startup.
- schrodinger.application.livedesign.maestro_ld_connection.show_network_error_popup(error_msg: str)¶
Show network error popup.
- Parameters
error_msg – Error message to be shown in the popup.
- schrodinger.application.livedesign.maestro_ld_connection.get_connection_status() bool ¶
Get the connection status of live design client.