schrodinger.application.livedesign_ml.ldml_gui_utils module

schrodinger.application.livedesign_ml.ldml_gui_utils.ldml_available(api_type: LDMLApiType, panel_title: str) bool

Check if LDMLClient instance is created successfully and the specified API is supported. If one of these fails, show an info message box. Mainly called before opening any LDML panel.

Parameters:
  • api_type – The API type to check for support.

  • panel_title – The title of the panel to display in the message box.

Returns:

Whether LDMLClient is created and the API is supported.