schrodinger.tasks.gui module

schrodinger.tasks.gui.start_task(task, parent=None)[source]

Start a task using the GUI to interact with preprocessing. Preprocessing errors will be shown in a message box, and preprocessing warnings will be shown to the user in the form a of a question box that allows the user to continue or cancel start.

Parameters
  • task – the task to start

  • parent (QtWidgets.QWidget) – the parent widget, used for positioning the popup messages

Returns

whether the task started

Return type

bool

schrodinger.tasks.gui.write_task(task, parent=None)[source]

Write a task using the GUI to interact with preprocessing. Preprocessing errors will be shown in a message box, and preprocessing warnings will be shown to the user in the form a of a question box that allows the user to continue or cancel write.

Parameters
  • task – the task to write

  • parent (QtWidgets.QWidget) – the parent widget, used for positioning the popup messages

Returns

whether the write was successful

Return type

bool