pylabrobot.centrifuge.highres.microspin_backend.MicroSpinError#

exception pylabrobot.centrifuge.highres.microspin_backend.MicroSpinError(command: str, command_id: int, error_lines: List[str])#

Bases: RuntimeError

Raised when the MicroSpin responds with ERROR! to a command.

Variables:
  • command – The command text that was sent.

  • command_id – The numeric command id assigned by the device, or -1 if the ACK could not be parsed.

  • error_lines – The diagnostic lines (Error <n>: ...) the device emitted before the ERROR! (or ABORTED!) terminator.

Parameters:
  • command (str)

  • command_id (int)

  • error_lines (List[str])