pylabrobot.bmg_labtech.vantastar.driver.simulator.VANTAstarSimulationDriver.save_configuration#

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

Write what this reader reported to a file, to be declared later (declared_configuration_json). The serial number is written as SERIAL_NUMBER_PLACEHOLDER.

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 reader yet.

Return type:

None