pylabrobot.brooks.precise_flex.PreciseFlexDriver.save_configuration#

PreciseFlexDriver.save_configuration(path: str, indent: int | None = 2) → None#

Write what this device reported to a file, to be declared from later.

Parameters:
  • path (str) – where to write it.

  • indent (int | None) – how far to indent the JSON, or None to write it on one line.

Raises:

RuntimeError – If nothing has been read off the device yet.

Return type:

None