schrodinger.maestro.commands module

schrodinger.maestro.commands.temporary_preference(command, preference, value)

Set a maestro command preference to a temporary value, then after executing other code, restore the original value for the command preference.

Parameters:
  • command (str) – Command used to set temporary value
  • preference (str) – Preference to temporarily set
  • value (str) – Temporary value